hpcopy [-m | -b | -t | -r | -a ] source-path ... target-path
hpcopy copies files and directories from an
HFS+ volume. If multiple files are to be copied, the target
path must be a directory.
Since Macintosh files contain two forks, which are not
representably in Unix file systems, copies use one of several
Mac Binary II is a format for
binary file transfer. Both forks of the Macintosh file
are preserved. This is the recommended mode for
transferring arbitrary Macintosh files.
BinHex also preserves both
forks of the Macintosh file. In addition, the encoded
file contains only ASCII characters, making it suitable
for electronic mail transmission.
Text copies only the data fork
of the Macintosh file, while the contents of the resource
fork are lost. In addition, this mode translates
end-of-line characters. This translation should be used
for text files.
Raw Data copies only the data
fork of the Macintosh file, while the contents of the
resource fork are lost.
Automatic mode applies a set of
predefined heuristics to determine the appropriate
translation. This is the default if no mode is specified.