mirror of
git://git.sv.gnu.org/coreutils.git
synced 2026-04-21 11:16:16 +02:00
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.
This commit is contained in:
3
NEWS
3
NEWS
@@ -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.
|
||||
|
||||
|
||||
Reference in New Issue
Block a user