~ubuntu-branches/ubuntu/precise/netatalk/precise

« back to all changes in this revision

Viewing changes to man/man1/afile.1

  • Committer: Bazaar Package Importer
  • Author(s): Sebastian Rittau
  • Date: 2004-01-19 12:43:49 UTC
  • Revision ID: james.westby@ubuntu.com-20040119124349-es563jbp0hk0ae51
Tags: upstream-1.6.4
ImportĀ upstreamĀ versionĀ 1.6.4

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
.TH AFILE 1 "26 Feb 1998" 
 
2
.SH NAME
 
3
afile \- display type and creator of Apple Macintosh files (netatalk format)
 
4
.SH SYNOPSIS
 
5
.B afile 
 
6
[
 
7
.B -a
 
8
]
 
9
.I file ...
 
10
 
 
11
.SH DESCRIPTION
 
12
.B afile
 
13
displays the name and Macintosh type and creator of the 
 
14
.I file
 
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.
 
19
 
 
20
.LP
 
21
.B afile
 
22
does not look at any of the extension mapping files such
 
23
as AppleVolumes.system.
 
24
 
 
25
.SH OPTIONS
 
26
.TP
 
27
.B -a
 
28
Include directories and data files of unknown type (i.e. without 
 
29
corresponding AppleDouble) in output.
 
30
 
 
31
.SH DIAGNOSTICS
 
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.
 
33
.br
 
34
 
 
35
1  file doesn't exist
 
36
.br
 
37
2  file is unreadable
 
38
.br
 
39
3  file is directory
 
40
.br
 
41
4  file is AppleDouble without data fork
 
42
.br
 
43
5  file is AppleDouble with unreadable data fork
 
44
.br
 
45
6  file is data fork without AppleDouble
 
46
.br
 
47
7  file is data fork with unreadable AppleDouble
 
48
.br
 
49
8  file is data fork with short AppleDouble
 
50
.br
 
51
9  bad magic in AppleDouble
 
52
 
 
53
.SH SEE ALSO
 
54
.BR achfile (1),
 
55
.BR afpd (1)