1MV(1)                            User Commands                           MV(1)
2
3
4

NAME

6       mv - move (rename) files
7

SYNOPSIS

9       mv [OPTION]... [-T] SOURCE DEST
10       mv [OPTION]... SOURCE... DIRECTORY
11       mv [OPTION]... -t DIRECTORY SOURCE...
12

DESCRIPTION

14       Rename SOURCE to DEST, or move SOURCE(s) to DIRECTORY.
15
16       Mandatory  arguments  to  long  options are mandatory for short options
17       too.
18
19       --backup[=CONTROL]
20              make a backup of each existing destination file
21
22       -b     like --backup but does not accept an argument
23
24       -f, --force
25              do not prompt before overwriting
26
27       -i, --interactive
28              prompt before overwrite
29
30       --strip-trailing-slashes
31              remove any trailing slashes from each SOURCE argument
32
33       -S, --suffix=SUFFIX
34              override the usual backup suffix
35
36       -t, --target-directory=DIRECTORY
37              move all SOURCE arguments into DIRECTORY
38
39       -T, --no-target-directory
40              treat DEST as a normal file
41
42       -u, --update
43              move only when the SOURCE file is  newer  than  the  destination
44              file or when the destination file is missing
45
46       -v, --verbose
47              explain what is being done
48
49       --help display this help and exit
50
51       --version
52              output version information and exit
53
54       The   backup   suffix   is  `~',  unless  set  with  --suffix  or  SIM‐
55       PLE_BACKUP_SUFFIX.  The version control method may be selected via  the
56       --backup  option  or  through the VERSION_CONTROL environment variable.
57       Here are the values:
58
59       none, off
60              never make backups (even if --backup is given)
61
62       numbered, t
63              make numbered backups
64
65       existing, nil
66              numbered if numbered backups exist, simple otherwise
67
68       simple, never
69              always make simple backups
70

AUTHOR

72       Written by Mike Parker, David MacKenzie, and Jim Meyering.
73

REPORTING BUGS

75       Report bugs to <bug-coreutils@gnu.org>.
76
78       Copyright © 2007 Free Software Foundation, Inc.
79       This is free software.  You may redistribute copies  of  it  under  the
80       terms       of       the      GNU      General      Public      License
81       <http://www.gnu.org/licenses/gpl.html>.  There is NO WARRANTY,  to  the
82       extent permitted by law.
83

SEE ALSO

85       rename(2)
86
87       The  full  documentation  for mv is maintained as a Texinfo manual.  If
88       the info and mv programs are properly installed at your site, the  com‐
89       mand
90
91              info mv
92
93       should give you access to the complete manual.
94
95
96
97GNU coreutils 6.9                 March 2008                             MV(1)
Impressum