coreutils/doc
Pádraig Brady 49912bac28 cp,mv: add --update=none-fail to fail if existing files
* src/cp.c (main): Add support for --update=none-fail to provide the
functionality of diagnosing files in the destination,
and exiting with failure status.
(usage): Mark -n as deprecated.
* src/mv.c: Likewise.
* src/copy.h: Add UPDATE_NONE_FAIL definition.
* src/system.h (emit_update_parameters_note): Add --update=none-fail
description.
* doc/coreutils.texi (cp invocation): Likewise.
Also mention why -n is deprecated.
* tests/mv/update.sh: Add a test case, including precedence
with -n and other --update options.
* tests/cp/cp-i.sh: Verify that --backup and --update=none{,-fail}
are mutually exclusive.
* tests/mv/mv-n.sh: Likewise.
* NEWS: Mention the new feature.
Addresses https://bugs.gnu.org/62572
2024-02-26 17:33:02 +00:00
..
.gitignore maint: copy FDL from gnulib instead of using it as module 2020-05-25 16:31:08 +02:00
coreutils.texi cp,mv: add --update=none-fail to fail if existing files 2024-02-26 17:33:02 +00:00
fdl.texi build: update gnulib submodule to latest 2022-01-02 16:14:40 +00:00
local.mk maint: update all copyright year number ranges 2024-01-01 13:27:23 +00:00
perm.texi maint: update all copyright year number ranges 2024-01-01 13:27:23 +00:00
sort-version.texi maint: update all copyright year number ranges 2024-01-01 13:27:23 +00:00