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       -n, --no-clobber
31              do not overwrite an existing file
32
33       If you specify more than one of -i, -f, -n, only the  final  one  takes
34       effect.
35
36       --strip-trailing-slashes
37              remove any trailing slashes from each SOURCE argument
38
39       -S, --suffix=SUFFIX
40              override the usual backup suffix
41
42       -t, --target-directory=DIRECTORY
43              move all SOURCE arguments into DIRECTORY
44
45       -T, --no-target-directory
46              treat DEST as a normal file
47
48       -u, --update
49              move  only  when  the  SOURCE file is newer than the destination
50              file or when the destination file is missing
51
52       -v, --verbose
53              explain what is being done
54
55       --help display this help and exit
56
57       --version
58              output version information and exit
59
60       The  backup  suffix  is  `~',  unless  set  with   --suffix   or   SIM‐
61       PLE_BACKUP_SUFFIX.   The version control method may be selected via the
62       --backup option or through the  VERSION_CONTROL  environment  variable.
63       Here are the values:
64
65       none, off
66              never make backups (even if --backup is given)
67
68       numbered, t
69              make numbered backups
70
71       existing, nil
72              numbered if numbered backups exist, simple otherwise
73
74       simple, never
75              always make simple backups
76

AUTHOR

78       Written by Mike Parker, David MacKenzie, and Jim Meyering.
79

REPORTING BUGS

81       Report mv bugs to bug-coreutils@gnu.org
82       GNU coreutils home page: <http://www.gnu.org/software/coreutils/>
83       General help using GNU software: <http://www.gnu.org/gethelp/>
84       Report mv translation bugs to <http://translationproject.org/team/>
85
87       Copyright  ©  2010  Free Software Foundation, Inc.  License GPLv3+: GNU
88       GPL version 3 or later <http://gnu.org/licenses/gpl.html>.
89       This is free software: you are free  to  change  and  redistribute  it.
90       There is NO WARRANTY, to the extent permitted by law.
91

SEE ALSO

93       rename(2)
94
95       The  full  documentation  for mv is maintained as a Texinfo manual.  If
96       the info and mv programs are properly installed at your site, the  com‐
97       mand
98
99              info coreutils 'mv invocation'
100
101       should give you access to the complete manual.
102
103
104
105GNU coreutils 8.4                  June 2018                             MV(1)
Impressum