Public bug reported:

Binary package hint: coreutils

Here's a wishlist item:

The BSD version of cp(1) has a "-n" command line option (cf.
http://www.freebsd.org/cgi/man.cgi?query=cp&sektion=1). It means: "Do
not overwrite an existing file."

This is a pretty nice thing to have if you want to copy a bunch of files
from A to B without replacing any of the files in B (regardless of their
modification time). With this version of cp(1), you have to do something
like "yes no | cp -i A/* B/*", which is unnecessarily complicated. cp(1)
has the "-f" switch and the "-i" switch, it should have the
corresponding "-n" switch.

Thanks for considering!

** Affects: coreutils (Ubuntu)
     Importance: Undecided
         Status: New

-- 
Add a "-n" option to cp (opposite of "-f")
https://bugs.launchpad.net/bugs/229182
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to