diff options
author | Paul Eggert <eggert@cs.ucla.edu> | 2023-01-27 10:59:13 -0800 |
---|---|---|
committer | Paul Eggert <eggert@cs.ucla.edu> | 2023-01-27 11:03:38 -0800 |
commit | 20005ca733e111a61212ee8a6890a54583c55562 (patch) | |
tree | 97fff68c621a25523b4c61f0ae61bede6e239898 /NEWS | |
parent | d5868df0d0a6bd09387ece41b62b873fd7c201f9 (diff) | |
download | coreutils-20005ca733e111a61212ee8a6890a54583c55562.tar.gz |
mv: new option --no-copy
Wishlist item from Mike Frysinger (Bug#61050).
* src/copy.c (copy_internal):
Do not fall back on copying if x->no_copy.
* src/copy.h (struct cp_options): New member no_copy.
* src/mv.c (NO_COPY_OPTION): New constant.
(long_options, usage, main): Support --no-copy.
* tests/mv/no-copy.sh: New test.
* tests/local.mk (all_tests): Add it.
Diffstat (limited to 'NEWS')
-rw-r--r-- | NEWS | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -95,6 +95,9 @@ GNU coreutils NEWS -*- outline -*- ls now supports the --time=modification option, to explicitly select the default mtime timestamp for display and sorting. + mv now supports the --no-copy option, which causes it to fail when + asked to move a file to a different file system. + wc now accepts the --total={auto,never,always,only} option to give explicit control over when the total is output. |