apple_dump -V (return code: 1)
apple_dump (Netatalk 2.2.6)
apple_dump --help (return code: 1)
usage: apple_dump [-a] FILE|DIR
or: apple_dump -f FILE
or: apple_dump -d FILE
or: apple_dump -h|-help|--help
or: apple_dump -v|-version|--version
Dump AppleSingle/AppleDouble format file.
-a (default) Dump a AppleSingle/AppleDouble file for FILE or DIR
automatically.
Extrapolate FinderInfo type from absolute path.
If FILE is not AppleSingle/AppleDouble format,
look for '.AppleDouble/FILE' and '._FILE'.
If DIR, look for 'DIR/.AppleDouble/.Parent' and '._DIR'.
-f Dump FILE. Assume FinderInfo to be FileInfo.
-d Dump FILE. Assume FinderInfo to be DirInfo.
-h,-help,--help Display this 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 examins whether file or directory,
a parent directory is .AppleDouble, filename is ._*, filename is .Parent,
and so on.
If setting option -f or -d, assume FinderInfo and doesn't look for
another file.