|
|
1.1 root 1:
2:
3: mv Command mv
4:
5:
6:
7:
8: Rename files or directories
9:
10: mmvv [-ff] _o_l_d_f_i_l_e [_n_e_w_f_i_l_e]
11: mmvv [-ff] _f_i_l_e ... _d_i_r_e_c_t_o_r_y
12:
13: mv renames files. In the first form above, it changes the name
14: of oldfile to newfile. If newfile already exists, mv replaces it
15: with the file being moved; if not, mv creates it. If newfile is
16: a directory, mv places oldfile under that directory.
17:
18: In the second form, mv moves each file so that it resides under
19: directory. If a file with the new name exists but is unwritable,
20: mv will not delete it unless the -f option is specified.
21:
22: mv will not copy directories between devices and will not remove
23: directories that occupy the destination of the command.
24:
25: Normally, mv creates a link to the old file with the new file and
26: then removes the old file. If it cannot create the link (e.g.,
27: because the new file is on a different file system than the old),
28: mv performs a copy and then removes the old file.
29:
30: ***** See Also *****
31:
32: commands, cp, ln
33:
34: ***** Notes *****
35:
36: mv tests the validity of directory moves by means of search per-
37: mission. The superuser always has search permission and thus can
38: use mv incorrectly.
39:
40:
41:
42:
43:
44:
45:
46:
47:
48:
49:
50:
51:
52:
53:
54:
55:
56:
57:
58:
59:
60:
61:
62:
63:
64: COHERENT Lexicon Page 1
65:
66:
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.