1 .TH AFILE 1 "26 Feb 1998"
3 afile \- display type and creator of Apple Macintosh files (netatalk format)
13 displays the name and Macintosh type and creator of the
15 arguments. Tests whether the file is an AppleDouble header,
16 in which case it checks the corresponding data fork exists, or assumes
17 it is a data fork in which case it looks for the corresponding AppleDouble
18 to find the type/creator information.
22 does not look at any of the extension mapping files such
23 as AppleVolumes.system.
28 Include directories and data files of unknown type (i.e. without
29 corresponding AppleDouble) in output.
32 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.
41 4 file is AppleDouble without data fork
43 5 file is AppleDouble with unreadable data fork
45 6 file is data fork without AppleDouble
47 7 file is data fork with unreadable AppleDouble
49 8 file is data fork with short AppleDouble
51 9 bad magic in AppleDouble