1mvdir(1M) System Administration Commands mvdir(1M)
2
3
4
6 mvdir - move a directory
7
9 /usr/sbin/mvdir dirname name
10
11
13 mvdir moves directories within a file system. dirname must be a direc‐
14 tory. If name does not exist, it will be created as a directory. If
15 name does exist, and is a directory, dirname will be created as
16 name/dirname. dirname and name may not be on the same path; that is,
17 one may not be subordinate to the other. For example:
18
19
20 example% mvdir x/y x/z
21
22
23 is legal, but
24
25
26 example% mvdir x/y x/y/z
27
28
29 is not.
30
32 dirname The name of the directory that is to be moved to another
33 directory in the filesystem.
34
35
36 name The name of the directory into which dirname is to be moved.
37 If name does not exist, it will be created. It may not be on
38 the same path as dirname.
39
40
42 See largefile(5) for the description of the behavior of mvdir when
43 encountering files greater than or equal to 2 Gbyte ( 2^31 bytes).
44
46 0 Successful operation.
47
48
49 >0 Operation failed.
50
51
53 See attributes(5) for descriptions of the following attributes:
54
55
56
57
58 ┌─────────────────────────────┬─────────────────────────────┐
59 │ ATTRIBUTE TYPE │ ATTRIBUTE VALUE │
60 ├─────────────────────────────┼─────────────────────────────┤
61 │Availability │SUNWcsu │
62 └─────────────────────────────┴─────────────────────────────┘
63
65 mkdir(1), mv(1), attributes(5), largefile(5)
66
67
68
69SunOS 5.11 14 Mar 1997 mvdir(1M)