1 .\" DO NOT MODIFY THIS FILE! It was generated by help2man 1.35.
2 .TH MV "1" "April 2010" "GNU coreutils 8.5" "User Commands"
4 mv \- move (rename) files
7 [\fIOPTION\fR]... [\fI-T\fR] \fISOURCE DEST\fR
10 [\fIOPTION\fR]... \fISOURCE\fR... \fIDIRECTORY\fR
13 [\fIOPTION\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[=\fICONTROL\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=\fISUFFIX\fR
43 override the usual backup suffix
45 \fB\-t\fR, \fB\-\-target\-directory\fR=\fIDIRECTORY\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
60 display this help and exit
63 output version information and exit
65 The backup suffix is `~', unless set with \fB\-\-suffix\fR or SIMPLE_BACKUP_SUFFIX.
66 The version control method may be selected via the \fB\-\-backup\fR option or through
67 the VERSION_CONTROL environment variable. Here are the values:
70 never make backups (even if \fB\-\-backup\fR is given)
76 numbered if numbered backups exist, simple otherwise
79 always make simple backups
81 Written by Mike Parker, David MacKenzie, and Jim Meyering.
83 Report mv bugs to bug\-coreutils@gnu.org
85 GNU coreutils home page: <http://www.gnu.org/software/coreutils/>
87 General help using GNU software: <http://www.gnu.org/gethelp/>
89 Report mv translation bugs to <http://translationproject.org/team/>
91 Copyright \(co 2010 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.
99 The full documentation for
101 is maintained as a Texinfo manual. If the
105 programs are properly installed at your site, the command
107 .B info coreutils \(aqmv invocation\(aq
109 should give you access to the complete manual.