1 12/08/88 move, mv
2
3 Syntax as a command:
4 mv move path1 path2...path1N path2N -control_arg
5
6
7 Function: moves a specified segment, multisegment file, data
8 management file, and extended entry along with its access control list
9 and all names to a new position in the storage system hierarchy.
10
11
12 Arguments:
13 path1
14 is the pathname of a segment or multisegment file to be moved. The
15 star convention is allowed.
16 path2
17 is the pathname to which path1 is to be moved. The equal convention
18 is allowed. If you don't give the last path2 segment, path1 is
19 moved to your working directory and given the entryname path1.
20
21
22 Control arguments:
23 -acl
24 copies the ACL. Default
25 -all, -a
26 copies multiple names and ACLs.
27 -brief, -bf
28 suppresses the messages "Bit count inconsistent with current
29 length..." and "Current length is not the same as records used...."
30 -chase
31 copies the targets of links that match path1 see "Notes".
32 -long
33 prints warning messages as necessary. Default
34 -name, -nm
35 copies multiple names. Default
36
37
38 -no_acl
39 does not copy the ACL. The segment is given the IACL of the target
40 directory.
41 -no_chase
42 does not copy the targets of links that match path1 see "Notes".
43 -no_name, -nnm
44 does not copy the multiple names.
45
46
47 Access required: You need read access for path1, status and modify
48 permission for the directory containing path1, and status, modify, and
49 append permission for the directory containing path2.
50
51
52 Notes: The default for chasing links depends on path1--if it is a
53 star name, links are not chased by default; if it is not, links are
54 chased.
55
56 If the primary name of path1 is the only one, it is added as a
57 secondary name to path2.
58
59 If an entry with the entryname path1 already exists in the target
60 directory, you are asked whether the already-existing entry should be
61 deleted. If you answer "no," the move does not take place.
62
63 If path1 is protected by the safety switch, you are asked whether you
64 want to delete path1 after it has been moved.
65
66
67 If moving a non-empty mailbox requires that the max_length
68 characteristic of the source be applied to the target, then the target
69 max_length value will take on the default value that was given it when
70 created.