From 4ad94864781f48b1a4b77f9cfb934622bf756ba1 Mon Sep 17 00:00:00 2001 From: Daniel Baumann Date: Mon, 17 Jun 2024 12:51:52 +0200 Subject: Adding upstream version 4.23.0. Signed-off-by: Daniel Baumann --- upstream/mageia-cauldron/man1/mv.1 | 28 ++++++++++++++++++++++------ 1 file changed, 22 insertions(+), 6 deletions(-) (limited to 'upstream/mageia-cauldron/man1/mv.1') diff --git a/upstream/mageia-cauldron/man1/mv.1 b/upstream/mageia-cauldron/man1/mv.1 index 35f24d77..21d2e4c4 100644 --- a/upstream/mageia-cauldron/man1/mv.1 +++ b/upstream/mageia-cauldron/man1/mv.1 @@ -1,5 +1,5 @@ .\" DO NOT MODIFY THIS FILE! It was generated by help2man 1.48.5. -.TH MV "1" "April 2022" "GNU coreutils 9.1" "User Commands" +.TH MV "1" "August 2023" "GNU coreutils 9.4" "User Commands" .SH NAME mv \- move (rename) files .SH SYNOPSIS @@ -24,6 +24,9 @@ make a backup of each existing destination file \fB\-b\fR like \fB\-\-backup\fR but does not accept an argument .TP +\fB\-\-debug\fR +explain how a file is copied. Implies \fB\-v\fR +.TP \fB\-f\fR, \fB\-\-force\fR do not prompt before overwriting .TP @@ -35,6 +38,9 @@ do not overwrite an existing file .PP If you specify more than one of \fB\-i\fR, \fB\-f\fR, \fB\-n\fR, only the final one takes effect. .TP +\fB\-\-no\-copy\fR +do not copy if renaming fails +.TP \fB\-\-strip\-trailing\-slashes\fR remove any trailing slashes from each SOURCE argument @@ -48,10 +54,12 @@ move all SOURCE arguments into DIRECTORY \fB\-T\fR, \fB\-\-no\-target\-directory\fR treat DEST as a normal file .TP -\fB\-u\fR, \fB\-\-update\fR -move only when the SOURCE file is newer -than the destination file or when the -destination file is missing +\fB\-\-update\fR[=\fI\,UPDATE\/\fR] +control which existing files are updated; +UPDATE={all,none,older(default)}. See below +.TP +\fB\-u\fR +equivalent to \fB\-\-update\fR[=\fI\,older\/\fR] .TP \fB\-v\fR, \fB\-\-verbose\fR explain what is being done @@ -66,6 +74,14 @@ display this help and exit \fB\-\-version\fR output version information and exit .PP +UPDATE controls which existing files in the destination are replaced. +\&'all' is the default operation when an \fB\-\-update\fR option is not specified, +and results in all existing files in the destination being replaced. +\&'none' is similar to the \fB\-\-no\-clobber\fR option, in that no files in the +destination are replaced, but also skipped files do not induce a failure. +\&'older' is the default operation when \fB\-\-update\fR is specified, and results +in files being replaced if they're older than the corresponding source file. +.PP The backup suffix is '~', unless set with \fB\-\-suffix\fR or SIMPLE_BACKUP_SUFFIX. The version control method may be selected via the \fB\-\-backup\fR option or through the VERSION_CONTROL environment variable. Here are the values: @@ -88,7 +104,7 @@ GNU coreutils online help: .br Report any translation bugs to .SH COPYRIGHT -Copyright \(co 2022 Free Software Foundation, Inc. +Copyright \(co 2023 Free Software Foundation, Inc. License GPLv3+: GNU GPL version 3 or later . .br This is free software: you are free to change and redistribute it. -- cgit v1.2.3