diff options
author | Kamil Dudka <kdudka@redhat.com> | 2009-01-13 18:35:00 +0100 |
---|---|---|
committer | Jim Meyering <meyering@redhat.com> | 2009-01-14 09:09:22 +0100 |
commit | d01338eb3d30e5634f1b4d4179c229f54eea0b44 (patch) | |
tree | 6ed873717bb12faed3300b9be390aaabee40fa74 /NEWS | |
parent | a99c35b04d9ab601e4fa98319c56fbdbde6b420a (diff) | |
download | coreutils-d01338eb3d30e5634f1b4d4179c229f54eea0b44.tar.xz |
cp/mv: add --no-clobber (-n) option to not overwrite target
* src/cp.c (usage): Show new option -n in --help.
(main): Handle new option -n.
* src/mv.c (usage): Show new option -n in --help.
(main): Handle new option -n.
* doc/coreutils.texi: Document new cp/mv option -n.
* tests/cp/cp-i: Add tests for -f, -i and -n options.
* tests/mv/mv-n: New test for mv -n.
* tests/Makefile.am: Add test mv/mv-n to the list.
* NEWS: Mention the change.
Diffstat (limited to 'NEWS')
-rw-r--r-- | NEWS | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -4,6 +4,9 @@ GNU coreutils NEWS -*- outline -*- ** New features + cp and mv accept a new option, --no-clobber (-n): silently refrain + from overwriting any existing destination file + dd accepts iflag=cio and oflag=cio to open the file in CIO (concurrent I/O) mode where this feature is available. |