32
32
directories and the CNID databases are updated as appropiate\&.
33
33
.SH "AVAILABLE COMMANDS"
35
.HP \w'\fBad\ ls\fR\ 'u \fBad ls\fR [\-dRl\ [u]] {file|dir\ [\&.\&.\&.]}
34
.HP \w'\fBad\ ls\fR\ 'u
35
\fBad ls\fR [\-dRl\ [u]] {file|dir\ [\&.\&.\&.]}
37
List files and directories\&.
38
.HP \w'\fBad\ cp\fR\ 'u
39
\fBad cp\fR [\-aipvf] {src_file} {dst_file}
40
.HP \w'\fBad\ cp\ \-R\fR\ 'u
41
\fBad cp \-R\fR [\-aipvf] {src_file|src_directory\ \&.\&.\&.} {dst_directory}
43
Copy files and directories\&.
44
.HP \w'\fBad\ mv\fR\ 'u
45
\fBad mv\fR [\-finv] {src_file} {dst_file}
46
.HP \w'\fBad\ mv\fR\ 'u
47
\fBad mv\fR [\-finv] {src_file|src_directory\ \&.\&.\&.} {dst_directory}
49
Move files and directories\&.
50
.HP \w'\fBad\ rm\fR\ 'u
51
\fBad rm\fR [\-Rv] {file|directory}
53
Remove files and directories\&.
56
List files and directories\&. Options:
60
Directories are listed as plain files
65
list subdirectories recursively
70
Long output, list AFP info
78
\fILong output description\fR
41
\-l Long Output [\-u: unix info]:
43
<unixinfo \&.\&.\&.> <FinderFlags> <AFPAttributes> <Color> <Type> <Creator> <CNID from AppleDouble> <name>
45
FinderFlags (valid for (f)ile and/or (d)irectory):
47
e = Hidden extension (f/d)
48
m = Shared (can run multiple times) (f)
49
n = No INIT resources (f)
61
p = Needs backup (f/d)
66
Note: any letter appearing in uppercase means the flag is set but it\'s a directory for which the flag is not allowed\&.
84
<unixinfo> <FinderFlags> <AFP Attributes> <Color> <Type> <Creator> <CNID from AppleDouble> <name>
86
FinderFlags (valid for (f)iles and/or (d)irectories):
89
e = Hidden extension (f/d)
90
m = Shared (can run multiple times) (f)
91
n = No INIT resources (f)
104
p = Needs backup (f/d)
109
Note: any letter appearing in uppercase means the flag is set but it\'s a directory for which the flag is not allowed\&.
116
Copy files and directories\&.
118
In the first synopsis form, the cp utility copies the contents of the source_file to the target_file\&. In the second synopsis form, the contents of each named source_file is copied to the destination target_directory\&. The names of the files themselves are not changed\&. If cp detects an attempt to copy a file to itself, the copy will fail\&.
120
Netatalk AFP volumes are detected by means of their "\&.AppleDesktop" directory which is located in their volume root\&. When a copy targetting an AFP volume is detected, its CNID database daemon is connected and all copies will also go through the CNID database\&. AppleDouble files are also copied and created as needed when the target is an AFP volume\&.
126
Archive mode\&. Same as \-Rp\&.
131
For each existing destination pathname, remove it and create a new file, without prompting for confirmation regardless of its permis\- sions\&. (The \-f option overrides any previous \-i or \-n options\&.)
136
Cause cp to write a prompt to the standard error output before copying a file that would overwrite an existing file\&. If the response from the standard input begins with the character \'y\' or \'Y\', the file copy is attempted\&. (The \-i option overrides any pre\- vious \-f or \-n options\&.)
141
Do not overwrite an existing file\&. (The \-n option overrides any previous \-f or \-i options\&.)
146
Cause cp to preserve the following attributes of each source file in the copy: modification time, access time, file flags, file mode, user ID, and group ID, as allowed by permissions\&. If the user ID and group ID cannot be preserved, no error message is displayed and the exit value is not altered\&.
151
If source_file designates a directory, cp copies the directory and the entire subtree connected at that point\&.If the source_file ends in a /, the contents of the directory are copied rather than the directory itself\&.
156
Cause cp to be verbose, showing files as they are copied\&.
161
File system mount points are not traversed\&.
165
Move files and directories\&.
167
Move files around within an AFP volume, updating the CNID database as needed\&. If either:
177
source or destination is not an AFP volume
188
source AFP volume != destination AFP volume
192
the files are copied and removed from the source\&.
198
Do not prompt for confirmation before overwriting the destination path\&. (The \-f option overrides any previous \-i or \-n options\&.)
203
Cause mv to write a prompt to standard error before moving a file that would overwrite an existing file\&. If the response from the standard input begins with the character `y\' or `Y\', the move is attempted\&. (The \-i option overrides any previous \-f or \-n options\&.)
208
Do not overwrite an existing file\&. (The \-n option overrides any previous \-f or \-i options\&.)
213
Cause mv to be verbose, showing files after they are moved\&.
217
Remove files and directories\&.
219
The rm utility attempts to remove the non\-directory type files specified on the command line\&. If the files and directories reside on an AFP volume, the corresponding CNIDs are deleted from the volumes database\&.
221
The options are as follows:
225
Attempt to remove the file hierarchy rooted in each file argument\&.
230
Be verbose when deleting files, showing them as they are removed\&.
71
232
.SH "REPORTING BUGS"
73
234
Report bugs to the Netatalk\-devel list <netatalk\-devel@lists\&.sourceforge\&.net>\&.
238
\fBapple_dump\fR(1)\&.