1AFILE(1) Netatalk 2.1 AFILE(1)
2
3
4
6 afile - display type and creator of Apple Macintosh files (netatalk
7 format)
8
10 afile [-a] file...
11
12
14 afile displays the name and Macintosh type and creator of the file
15 arguments. Tests whether the file is an AppleDouble header, in which
16 case it checks the corresponding data fork exists, or assumes it is a
17 data fork in which case it looks for the corresponding AppleDouble to
18 find the type/creator information.
19
20 afile does not look at any of the extension mapping files such as
21 AppleVolumes.system.
22
24 -a
25 Include directories and data files of unknown type (i.e. without
26 corresponding AppleDouble) in output.
27
29 returns exit status 0 if all files have a corresponding valid
30 .AppleDouble header or data fork, or 99 for bad command line options.
31 Otherwise it returns the following error code relating to the last
32 invalid file.
33
34 1 file doesn´t exist
35
36 2 file is unreadable
37
38 3 file is directory
39
40 4 file is AppleDouble without data fork
41
42 5 file is AppleDouble with unreadable data fork
43
44 6 file is data fork without AppleDouble
45
46 7 file is data fork with unreadable AppleDouble
47
48 8 file is data fork with short AppleDouble
49
50 9 bad magic in AppleDouble
51
53 achfile(1), afpd(8)
54
55
56
57Netatalk 2.1 26 Feb 1998 AFILE(1)