Title: apple_dump
Author: [FIXME: author] [see http://docbook.sf.net/el/author]
Generator: DocBook XSL Stylesheets v1.78.0 <http://docbook.sf.net/>
Date: 16 Jul 2012
Manual: @NETATALK_VERSION@
Source: @NETATALK_VERSION@
Language: English
* Define some portability stuff
-----------------------------------------------------------------
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
http://bugs.debian.org/507673
http://lists.gnu.org/archive/html/groff/2009-02/msg00013.html
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
-----------------------------------------------------------------
* set default formatting
-----------------------------------------------------------------
disable hyphenation
disable justification (adjust text to left margin only)
-----------------------------------------------------------------
* MAIN CONTENT STARTS HERE *
-----------------------------------------------------------------
\w'apple_dumpapple_dumpapple_dumpapple_dumpapple_dumpapple_dump 'u apple_dump [-a] [FILE | DIR]
apple_dump -e FILE | DIR
apple_dump -f [FILE]
apple_dump -d [FILE]
apple_dump -h | -help | --help
apple_dump -v | -version | --version
apple_dump is a perl script to dump AppleSingle/AppleDouble format data.
This script can dump various AppleSingle/AppleDouble data created by mailer, archiver, Mac OS X, Netatalk and so on.
With no FILE|DIR, or when FILE|DIR is -, read standard input.
-a [FILE|DIR]
This is default. Dump a AppleSingle/AppleDouble file for FILE or DIR automatically. If FILE is not AppleSingle/AppleDouble format, look for extended attribute, .AppleDouble/FILE and ._FILE. If DIR, look for extended attribute, DIR/.AppleDouble/.Parent and ._DIR.
-e FILE|DIR
Dump extended attribute ofFILE or DIR.
-f [FILE]
Dump FILE. Assume FinderInfo to be FileInfo.
-d [FILE]
Dump FILE. Assume FinderInfo to be DirInfo.
-h, -help, --help
Display the help and exit
-v, -version, --version
Show version and exit
There is no way to detect whether FinderInfo is FileInfo or DirInfo. By default, apple_dump examines whether file or directory, a parent directory is .AppleDouble, filename is ._*, filename is .Parent, and so on.
If setting option -e, -f or -d, assume FinderInfo and doesn\*(Aqt look for another file.
ad(1), getfattr(1), attr(1), runat(1), getextattr(8), lsextattr(8)