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.1
7
.\" Source: Netatalk 2.1
10
.TH "AFILE" "1" "26 Feb 1998" "Netatalk 2.1" "Netatalk 2.1"
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
afile \- display type and creator of Apple Macintosh files (netatalk format)
24
.HP \w'\fBafile\fR\fB\fR\ 'u
25
\fBafile\fR\fB\fR [\-a] \fIfile\fR...
31
displays the name and Macintosh type and creator of the
33
arguments\&. Tests whether the file is an AppleDouble header, in which case it checks the corresponding data fork exists, or assumes it is a data fork in which case it looks for the corresponding AppleDouble to find the type/creator information\&.
36
does not look at any of the extension mapping files such as AppleVolumes\&.system\&.
41
Include directories and data files of unknown type (i\&.e\&. without corresponding AppleDouble) in output\&.
45
returns exit status 0 if all files have a corresponding valid \&.AppleDouble header or data fork, or 99 for bad command line options\&. Otherwise it returns the following error code relating to the last invalid file\&.
53
4 file is AppleDouble without data fork
55
5 file is AppleDouble with unreadable data fork
57
6 file is data fork without AppleDouble
59
7 file is data fork with unreadable AppleDouble
61
8 file is data fork with short AppleDouble
63
9 bad magic in AppleDouble