1 .TH afile 1 "26 Feb 1998" 2.0.0 Netatalk
3 afile \- display type and creator of Apple Macintosh files (netatalk format)
5 \fBafile\fR [\-a] \fBfile\fR \&...
8 afile displays the name and Macintosh type and
9 creator of the \fIfile\fR arguments. Tests
10 whether the file is an AppleDouble header, in which case it checks the
11 corresponding data fork exists, or assumes it is a data fork in which case
12 it looks for the corresponding AppleDouble to find the type/creator
15 afile does not look at any of the extension
16 mapping files such as AppleVolumes.system.
20 Include directories and data files of unknown type (i.e.
21 without corresponding AppleDouble) in output.
23 returns exit status 0 if all files have a corresponding valid
24 \&.AppleDouble header or data fork, or 99 for bad command line options.
25 Otherwise it returns the following error code relating to the last invalid
34 4 file is AppleDouble without data fork
36 5 file is AppleDouble with unreadable data fork
38 6 file is data fork without AppleDouble
40 7 file is data fork with unreadable AppleDouble
42 8 file is data fork with short AppleDouble
44 9 bad magic in AppleDouble