]> git.ipfire.org Git - thirdparty/coreutils.git/commit
cp,mv: issue "skipped" messages when skipping files
authorPádraig Brady <P@draigBrady.com>
Fri, 7 Apr 2023 09:25:41 +0000 (10:25 +0100)
committerPádraig Brady <P@draigBrady.com>
Sat, 8 Apr 2023 11:11:58 +0000 (12:11 +0100)
commitf6c21f6d3addb6461c41af612e73fbb15d21545f
treed5079976206a43071ddd160672f95a200513adf1
parentdb28af406f311ac8f78604cc5906613866aecef5
cp,mv: issue "skipped" messages when skipping files

* NEWS: Mention the change in behavior to issue a "not replaced"
error diagnostic with -n, and the "skipped" message with -v.
* src/copy.c (copy_internal): Adjust to output the "skipped" messages
depending on -i, -n, -u.
* tests/cp/cp-i.sh: Adjust accordingly.
* tests/mv/mv-n.sh: Likewise.
NEWS
src/copy.c
tests/cp/cp-i.sh
tests/mv/mv-n.sh