]> arthur.barton.de Git - netatalk.git/commitdiff
Added man files from afile package
authorrufustfirefly <rufustfirefly>
Tue, 8 Aug 2000 15:49:38 +0000 (15:49 +0000)
committerrufustfirefly <rufustfirefly>
Tue, 8 Aug 2000 15:49:38 +0000 (15:49 +0000)
man/man1/achfile.1 [new file with mode: 0644]
man/man1/acleandir.1 [new file with mode: 0644]
man/man1/afile.1 [new file with mode: 0644]

diff --git a/man/man1/achfile.1 b/man/man1/achfile.1
new file mode 100644 (file)
index 0000000..2f0ea9c
--- /dev/null
@@ -0,0 +1,40 @@
+.TH ACHFILE 1 "26 Feb 1998" 
+.SH NAME
+achfile \- change type and/or creator of Apple Macintosh  files (netatalk format)
+.SH SYNOPSIS
+.B achfile 
+[
+.B -t
+.I type
+]
+[
+.B -c
+.I creator
+]
+.I file ...
+
+.SH DESCRIPTION
+.B achfile
+changes the Macintosh  type and/or creator of the 
+.I file
+arguments which have a
+corresponding .AppleDouble file.
+
+.SH OPTIONS
+.HP
+.B -t 
+.I type
+.br
+change the type.
+
+.HP
+.B -c
+.I creator
+.br
+change the creator.
+
+.SH DIAGNOSTICS
+returns exit status 0 if all files changed successfully
+.SH SEE ALSO
+.BR afile (1),
+.BR afpd (1)
diff --git a/man/man1/acleandir.1 b/man/man1/acleandir.1
new file mode 100644 (file)
index 0000000..0a2949a
--- /dev/null
@@ -0,0 +1,65 @@
+.TH ACLEANDIR 1 "26 Feb 1998" 
+.SH NAME
+acleandir \- clean up a directory containing netatalk Apple Macintosh files 
+.SH SYNOPSIS
+.B acleandir 
+[
+.B -rnvi
+]
+.I dirname
+
+.SH DESCRIPTION
+.B acleandir
+cleans up the directory
+.I dirname.
+By default 
+it simply removes
+"orphan" AppleDouble files, i.e. those
+which do not have a corresponding data file.
+.SH OPTIONS
+.TP
+.B -d
+Also remove the .AppleDouble directory if it contains no AppleDouble
+files after "orphan" removal. This will result in the finder location of 
+.I dirname
+within its parent being lost.
+.TP
+.B -r
+.PD 0
+.TP
+.B -R
+Recursive. Clean up directories recursively.
+
+.TP
+.B -n
+Display the filenames of "orphans" but don't remove any. Display size
+if "orphan" appears to contain a resource fork.
+
+.TP
+.B -i
+Interactive. Prompt for confirmation before a removal.
+A y in answer confirms that the removal should proceed.
+
+.TP
+.B -v
+Verbose. Display the names of all "orphans" and .AppleDouble directories removed. Reports the size if the "orphan" appears to contain a resource fork.
+
+.TP
+.B -a
+Aggressive. Remove all AppleDouble files, not just "orphans".  Also remove
+the .AppleDesktop directory if present.
+Impies
+.B -d 
+option. 
+Use with caution as the Macintosh type/creator and finder location
+of all files will be lost and  the content of some documents, such
+as Symantec Projects, will be destroyed.
+
+.SH DIAGNOSTICS
+returns exit status 0 unless bad options are provided  or a directory is not given
+on the command line.
+
+.SH SEE ALSO
+.BR afile (1),
+.BR afpd (1)
diff --git a/man/man1/afile.1 b/man/man1/afile.1
new file mode 100644 (file)
index 0000000..5aa37b7
--- /dev/null
@@ -0,0 +1,55 @@
+.TH AFILE 1 "26 Feb 1998" 
+.SH NAME
+afile \- display type and creator of Apple Macintosh files (netatalk format)
+.SH SYNOPSIS
+.B afile 
+[
+.B -a
+]
+.I file ...
+
+.SH DESCRIPTION
+.B afile
+displays the name and Macintosh type and creator of the 
+.I file
+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.
+
+.LP
+.B afile
+does not look at any of the extension mapping files such
+as AppleVolumes.system.
+
+.SH OPTIONS
+.TP
+.B -a
+Include directories and data files of unknown type (i.e. without 
+corresponding AppleDouble) in output.
+
+.SH DIAGNOSTICS
+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.
+.br
+
+1  file doesn't exist
+.br
+2  file is unreadable
+.br
+3  file is directory
+.br
+4  file is AppleDouble without data fork
+.br
+5  file is AppleDouble with unreadable data fork
+.br
+6  file is data fork without AppleDouble
+.br
+7  file is data fork with unreadable AppleDouble
+.br
+8  file is data fork with short AppleDouble
+.br
+9  bad magic in AppleDouble
+.SH SEE ALSO
+.BR achfile (1),
+.BR afpd (1)