Description of problem: busybox contain applet mv, there are implemented several options but option -n is missing, could this option be implemented as well? Version-Release number of selected component (if applicable): busybox-1.17.2 Steps to Reproduce: 1. $ busybox mv --help ... Options: -f Don't prompt before overwriting -i Interactive, prompt before overwrite 2. $ wc --help ... Mandatory arguments to long options are mandatory for short options too. --backup[=CONTROL] make a backup of each existing destination file -b like --backup but does not accept an argument -f, --force do not prompt before overwriting -i, --interactive prompt before overwrite -n, --no-clobber do not overwrite an existing file If you specify more than one of -i, -f, -n, only the final one takes effect. --strip-trailing-slashes remove any trailing slashes from each SOURCE argument -S, --suffix=SUFFIX override the usual backup suffix -t, --target-directory=DIRECTORY move all SOURCE arguments into DIRECTORY -T, --no-target-directory treat DEST as a normal file -u, --update move only when the SOURCE file is newer than the destination file or when the destination file is missing -v, --verbose explain what is being done --help display this help and exit Expected results: busybox mv will accept "-n" option if it is used it does not overwrite the existing files
Created attachment 452516 [details] proposed patch generated against busybox-1.17.2
Thanks for the patch :), I'm reassigning this bug to BusyBox maintainer.
Applied to git, thanks!
1.19.3 is in rawhide now: http://koji.fedoraproject.org/koji/buildinfo?buildID=271674 and it addresses this BZ