1 .\" DO NOT MODIFY THIS FILE! It was generated by help2man 1.022.
2 .TH MV "1" "October 2003" "mv (coreutils) 5.0" FSF
4 mv \- move (rename) files
7 [\fIOPTION\fR]... \fISOURCE DEST\fR
10 [\fIOPTION\fR]... \fISOURCE\fR... \fIDIRECTORY\fR
13 [\fIOPTION\fR]... \fI--target-directory=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
29 equivalent to \fB\-\-reply\fR=\fIyes\fR
31 \fB\-i\fR, \fB\-\-interactive\fR
32 prompt before overwrite
33 equivalent to \fB\-\-reply\fR=\fIquery\fR
35 \fB\-\-reply=\fR{yes,no,query}
36 specify how to handle the prompt about an
37 existing destination file
39 \fB\-\-strip\-trailing\-slashes\fR remove any trailing slashes from each SOURCE
42 \fB\-S\fR, \fB\-\-suffix\fR=\fISUFFIX\fR
43 override the usual backup suffix
45 \fB\-\-target\-directory\fR=\fIDIRECTORY\fR
46 move all SOURCE arguments into DIRECTORY
48 \fB\-u\fR, \fB\-\-update\fR
49 move only when the SOURCE file is newer
50 than the destination file or when the
51 destination file is missing
53 \fB\-v\fR, \fB\-\-verbose\fR
54 explain what is being done
57 display this help and exit
60 output version information and exit
62 The backup suffix is `~', unless set with \fB\-\-suffix\fR or SIMPLE_BACKUP_SUFFIX.
63 The version control method may be selected via the \fB\-\-backup\fR option or through
64 the VERSION_CONTROL environment variable. Here are the values:
67 never make backups (even if \fB\-\-backup\fR is given)
73 numbered if numbered backups exist, simple otherwise
76 always make simple backups
78 Written by Mike Parker, David MacKenzie, and Jim Meyering.
80 Report bugs to <bug-coreutils@gnu.org>.
82 Copyright \(co 2003 Free Software Foundation, Inc.
84 This is free software; see the source for copying conditions. There is NO
85 warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
87 The full documentation for
89 is maintained as a Texinfo manual. If the
93 programs are properly installed at your site, the command
97 should give you access to the complete manual.