Bug 640604
| Summary: | Please add -n option to mv applet | ||||||
|---|---|---|---|---|---|---|---|
| Product: | [Fedora] Fedora | Reporter: | Ivana Varekova <varekova> | ||||
| Component: | busybox | Assignee: | Denys Vlasenko <dvlasenk> | ||||
| Status: | CLOSED RAWHIDE | QA Contact: | Fedora Extras Quality Assurance <extras-qa> | ||||
| Severity: | medium | Docs Contact: | |||||
| Priority: | low | ||||||
| Version: | rawhide | CC: | dvlasenk, srb.michal, varekova | ||||
| Target Milestone: | --- | ||||||
| Target Release: | --- | ||||||
| Hardware: | All | ||||||
| OS: | Linux | ||||||
| Whiteboard: | |||||||
| Fixed In Version: | Doc Type: | Bug Fix | |||||
| Doc Text: | Story Points: | --- | |||||
| Clone Of: | Environment: | ||||||
| Last Closed: | 2011-11-01 12:43:38 UTC | Type: | --- | ||||
| Regression: | --- | Mount Type: | --- | ||||
| Documentation: | --- | CRM: | |||||
| Verified Versions: | Category: | --- | |||||
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |||||
| Cloudforms Team: | --- | Target Upstream Version: | |||||
| Embargoed: | |||||||
| Attachments: |
|
||||||
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 |
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