3 .\" Author: [FIXME: author] [see http://docbook.sf.net/el/author]
4 .\" Generator: DocBook XSL Stylesheets v1.75.2 <http://docbook.sf.net/>
6 .\" Manual: Netatalk 2.2
7 .\" Source: Netatalk 2.2
10 .TH "AD" "1" "02 Sep 2011" "Netatalk 2.2" "Netatalk 2.2"
11 .\" -----------------------------------------------------------------
12 .\" * set default formatting
13 .\" -----------------------------------------------------------------
14 .\" disable hyphenation
16 .\" disable justification (adjust text to left margin only)
18 .\" -----------------------------------------------------------------
19 .\" * MAIN CONTENT STARTS HERE *
20 .\" -----------------------------------------------------------------
22 ad \- Netatalk compatible UNIX file utility suite\&.
25 \fBad\fR {ls\ |\ cp\ |\ mv\ |\ rm} [\&.\&.\&.]
27 \fBad\fR {\-v\ |\ \-\-version}
31 is a UNIX file utlity suite with Netatalk compatibity\&. AppleDouble
34 directories and the CNID databases are updated as appropiate\&.
35 .SH "AVAILABLE COMMANDS"
36 .HP \w'\fBad\ ls\fR\ 'u
37 \fBad ls\fR [\-dRl\ [u]] {file|dir\ [\&.\&.\&.]}
39 List files and directories\&.
40 .HP \w'\fBad\ cp\fR\ 'u
41 \fBad cp\fR [\-aipvf] {src_file} {dst_file}
42 .HP \w'\fBad\ cp\ \-R\fR\ 'u
43 \fBad cp \-R\fR [\-aipvf] {src_file|src_directory\ \&.\&.\&.} {dst_directory}
45 Copy files and directories\&.
46 .HP \w'\fBad\ mv\fR\ 'u
47 \fBad mv\fR [\-finv] {src_file} {dst_file}
48 .HP \w'\fBad\ mv\fR\ 'u
49 \fBad mv\fR [\-finv] {src_file|src_directory\ \&.\&.\&.} {dst_directory}
51 Move files and directories\&.
52 .HP \w'\fBad\ rm\fR\ 'u
53 \fBad rm\fR [\-Rv] {file|directory}
54 .HP \w'\fBad\ \-v|\-\-version\fR\ 'u
55 \fBad \-v|\-\-version\fR
60 List files and directories\&. Options:
64 Directories are listed as plain files
69 list subdirectories recursively
74 Long output, list AFP info
82 \fILong output description\fR
88 <unixinfo> <FinderFlags> <AFP Attributes> <Color> <Type> <Creator> <CNID from AppleDouble> <name>
90 FinderFlags (valid for (f)iles and/or (d)irectories):
93 e = Hidden extension (f/d)
94 m = Shared (can run multiple times) (f)
95 n = No INIT resources (f)
108 p = Needs backup (f/d)
113 Note: any letter appearing in uppercase means the flag is set but it\'s a directory for which the flag is not allowed\&.
120 Copy files and directories\&.
122 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\&.
124 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\&.
130 Archive mode\&. Same as \-Rp\&.
135 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\&.)
140 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\&.)
145 Do not overwrite an existing file\&. (The \-n option overrides any previous \-f or \-i options\&.)
150 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\&.
155 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\&.
160 Cause cp to be verbose, showing files as they are copied\&.
165 File system mount points are not traversed\&.
169 Move files and directories\&.
171 Move files around within an AFP volume, updating the CNID database as needed\&. If either:
181 source or destination is not an AFP volume
192 source AFP volume != destination AFP volume
196 the files are copied and removed from the source\&.
202 Do not prompt for confirmation before overwriting the destination path\&. (The \-f option overrides any previous \-i or \-n options\&.)
207 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\&.)
212 Do not overwrite an existing file\&. (The \-n option overrides any previous \-f or \-i options\&.)
217 Cause mv to be verbose, showing files after they are moved\&.
221 Remove files and directories\&.
223 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\&.
225 The options are as follows:
229 Attempt to remove the file hierarchy rooted in each file argument\&.
234 Be verbose when deleting files, showing them as they are removed\&.
238 Report bugs to the Netatalk\-devel list <netatalk\-devel@lists\&.sourceforge\&.net>\&.
242 \fBapple_dump\fR(1)\&.