1 .\" DO NOT MODIFY THIS FILE! It was generated by help2man 1.47.3.
2 .TH MV "1" "January 2016" "GNU coreutils 8.25" "User Commands"
4 mv \- move (rename) files
7 [\fI\,OPTION\/\fR]... [\fI\,-T\/\fR] \fI\,SOURCE DEST\/\fR
10 [\fI\,OPTION\/\fR]... \fI\,SOURCE\/\fR... \fI\,DIRECTORY\/\fR
13 [\fI\,OPTION\/\fR]... \fI\,-t DIRECTORY SOURCE\/\fR...
15 .\" Add any additional description here
17 Rename SOURCE to DEST, or move SOURCE(s) to DIRECTORY.
19 Mandatory arguments to long options are mandatory for short options too.
21 \fB\-\-backup\fR[=\fI\,CONTROL\/\fR]
22 make a backup of each existing destination file
25 like \fB\-\-backup\fR but does not accept an argument
27 \fB\-f\fR, \fB\-\-force\fR
28 do not prompt before overwriting
30 \fB\-i\fR, \fB\-\-interactive\fR
31 prompt before overwrite
33 \fB\-n\fR, \fB\-\-no\-clobber\fR
34 do not overwrite an existing file
36 If you specify more than one of \fB\-i\fR, \fB\-f\fR, \fB\-n\fR, only the final one takes effect.
38 \fB\-\-strip\-trailing\-slashes\fR
39 remove any trailing slashes from each SOURCE
42 \fB\-S\fR, \fB\-\-suffix\fR=\fI\,SUFFIX\/\fR
43 override the usual backup suffix
45 \fB\-t\fR, \fB\-\-target\-directory\fR=\fI\,DIRECTORY\/\fR
46 move all SOURCE arguments into DIRECTORY
48 \fB\-T\fR, \fB\-\-no\-target\-directory\fR
49 treat DEST as a normal file
51 \fB\-u\fR, \fB\-\-update\fR
52 move only when the SOURCE file is newer
53 than the destination file or when the
54 destination file is missing
56 \fB\-v\fR, \fB\-\-verbose\fR
57 explain what is being done
59 \fB\-Z\fR, \fB\-\-context\fR
60 set SELinux security context of destination
64 display this help and exit
67 output version information and exit
69 The backup suffix is '~', unless set with \fB\-\-suffix\fR or SIMPLE_BACKUP_SUFFIX.
70 The version control method may be selected via the \fB\-\-backup\fR option or through
71 the VERSION_CONTROL environment variable. Here are the values:
74 never make backups (even if \fB\-\-backup\fR is given)
80 numbered if numbered backups exist, simple otherwise
83 always make simple backups
85 Written by Mike Parker, David MacKenzie, and Jim Meyering.
87 GNU coreutils online help: <http://www.gnu.org/software/coreutils/>
89 Report mv translation bugs to <http://translationproject.org/team/>
91 Copyright \(co 2016 Free Software Foundation, Inc.
92 License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>.
94 This is free software: you are free to change and redistribute it.
95 There is NO WARRANTY, to the extent permitted by law.
100 Full documentation at: <http://www.gnu.org/software/coreutils/mv>
102 or available locally via: info \(aq(coreutils) mv invocation\(aq