summaryrefslogtreecommitdiff
path: root/NEWS
diff options
context:
space:
mode:
authorKamil Dudka <kdudka@redhat.com>2009-01-13 18:35:00 +0100
committerJim Meyering <meyering@redhat.com>2009-01-14 09:09:22 +0100
commitd01338eb3d30e5634f1b4d4179c229f54eea0b44 (patch)
tree6ed873717bb12faed3300b9be390aaabee40fa74 /NEWS
parenta99c35b04d9ab601e4fa98319c56fbdbde6b420a (diff)
downloadcoreutils-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--NEWS3
1 files changed, 3 insertions, 0 deletions
diff --git a/NEWS b/NEWS
index f605330e7..f1b383e39 100644
--- a/NEWS
+++ b/NEWS
@@ -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.