OSDN Git Service

Update translations: chroot, csplit, dd, du, pwd
[linuxjm/coreutils.git] / original / man1 / mv.1
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"
3 .SH NAME
4 mv \- move (rename) files
5 .SH SYNOPSIS
6 .B mv
7 [\fI\,OPTION\/\fR]... [\fI\,-T\/\fR] \fI\,SOURCE DEST\/\fR
8 .br
9 .B mv
10 [\fI\,OPTION\/\fR]... \fI\,SOURCE\/\fR... \fI\,DIRECTORY\/\fR
11 .br
12 .B mv
13 [\fI\,OPTION\/\fR]... \fI\,-t DIRECTORY SOURCE\/\fR...
14 .SH DESCRIPTION
15 .\" Add any additional description here
16 .PP
17 Rename SOURCE to DEST, or move SOURCE(s) to DIRECTORY.
18 .PP
19 Mandatory arguments to long options are mandatory for short options too.
20 .TP
21 \fB\-\-backup\fR[=\fI\,CONTROL\/\fR]
22 make a backup of each existing destination file
23 .TP
24 \fB\-b\fR
25 like \fB\-\-backup\fR but does not accept an argument
26 .TP
27 \fB\-f\fR, \fB\-\-force\fR
28 do not prompt before overwriting
29 .TP
30 \fB\-i\fR, \fB\-\-interactive\fR
31 prompt before overwrite
32 .TP
33 \fB\-n\fR, \fB\-\-no\-clobber\fR
34 do not overwrite an existing file
35 .PP
36 If you specify more than one of \fB\-i\fR, \fB\-f\fR, \fB\-n\fR, only the final one takes effect.
37 .TP
38 \fB\-\-strip\-trailing\-slashes\fR
39 remove any trailing slashes from each SOURCE
40 argument
41 .TP
42 \fB\-S\fR, \fB\-\-suffix\fR=\fI\,SUFFIX\/\fR
43 override the usual backup suffix
44 .TP
45 \fB\-t\fR, \fB\-\-target\-directory\fR=\fI\,DIRECTORY\/\fR
46 move all SOURCE arguments into DIRECTORY
47 .TP
48 \fB\-T\fR, \fB\-\-no\-target\-directory\fR
49 treat DEST as a normal file
50 .TP
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
55 .TP
56 \fB\-v\fR, \fB\-\-verbose\fR
57 explain what is being done
58 .TP
59 \fB\-Z\fR, \fB\-\-context\fR
60 set SELinux security context of destination
61 file to default type
62 .TP
63 \fB\-\-help\fR
64 display this help and exit
65 .TP
66 \fB\-\-version\fR
67 output version information and exit
68 .PP
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:
72 .TP
73 none, off
74 never make backups (even if \fB\-\-backup\fR is given)
75 .TP
76 numbered, t
77 make numbered backups
78 .TP
79 existing, nil
80 numbered if numbered backups exist, simple otherwise
81 .TP
82 simple, never
83 always make simple backups
84 .SH AUTHOR
85 Written by Mike Parker, David MacKenzie, and Jim Meyering.
86 .SH "REPORTING BUGS"
87 GNU coreutils online help: <http://www.gnu.org/software/coreutils/>
88 .br
89 Report mv translation bugs to <http://translationproject.org/team/>
90 .SH COPYRIGHT
91 Copyright \(co 2016 Free Software Foundation, Inc.
92 License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>.
93 .br
94 This is free software: you are free to change and redistribute it.
95 There is NO WARRANTY, to the extent permitted by law.
96 .SH "SEE ALSO"
97 rename(2)
98 .PP
99 .br
100 Full documentation at: <http://www.gnu.org/software/coreutils/mv>
101 .br
102 or available locally via: info \(aq(coreutils) mv invocation\(aq