Linux and UNIX Man Pages

Linux & Unix Commands - Search Man Pages

hpcopy(1) [debian man page]

hpcopy(1)						      General Commands Manual							 hpcopy(1)

NAME
hpcopy -- copy files from an HFS+ volume SYNOPSIS
hpcopy [-m | -b | -t | -r | -a ] source-path ... target-path Description 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 translation modes: -m 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. -b 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. -t 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. -r Raw Data copies only the data fork of the Macintosh file, while the contents of the resource fork are lost. -a Automatic mode applies a set of predefined heuristics to determine the appropriate translation. This is the default if no mode is specified. See also hfsplus(7), hpmount(1), hpls(1), hpcd(1), hprm(1), hpmkdir(1), hppwd(1), hpumount(1), hpfsck(1). Author This manual page was written by Jens Schmalzing <jensen@debian.org> for Debian GNU/Linux using the manual page by Klaus Halfmann <half- mann@libra.de> that comes with the source code and documentation from the Tech Info Library. hpcopy(1)

Check Out this Related Man Page

HCOPY(1)						      General Commands Manual							  HCOPY(1)

NAME
hcopy - copy files from or to an HFS volume SYNOPSIS
hcopy [-m|-b|-t|-r|-a] source-path [...] target-path DESCRIPTION
hcopy transfers files from an HFS volume to UNIX or vice versa. The named source files are copied to the named destination target, which must be a directory if multiple files are to be copied. Copies are performed using a translation mode, which must be one of: -m MacBinary II: A popular format for binary file transfer. Both forks of the Macintosh file are preserved. This is the recommended mode for transferring arbitrary Macintosh files. -b BinHex: An alternative format for ASCII file transfer. Both forks of the Macintosh file are preserved. -t Text: Performs end-of-line translation. Only the data fork of the Macintosh file is copied. -r Raw Data: Performs no translation. Only the data fork of the Macintosh file is copied. -a Automatic: A mode will be chosen automatically for each file based on a set of predefined heuristics. If no mode is specified, -a is assumed. If a UNIX source pathname is specified as a single dash (-), hcopy will copy from standard input to the HFS destination. Likewise, a single dash used as a UNIX destination pathname will cause hcopy to copy the HFS source to standard output. NOTES
Copied files may have their filenames altered during translation. For example, an appropriate file extension may be added or removed, and certain other characters may also be transliterated. The destination target must not be ambiguous; that is, it must be obvious whether the target is on the UNIX filesystem or on an HFS volume. As a rule, HFS targets must contain at least one colon (:), usually as the beginning of a relative pathname or by itself to represent the current working directory. To make a UNIX target unambiguous, either use an absolute pathname or precede a relative pathname with a dot and slash (./). SEE ALSO
hfsutils(1), hls(1), hattrib(1) AUTHOR
Robert Leslie <rob@mars.org> HFSUTILS
13-Jan-1997 HCOPY(1)
Man Page

Featured Tech Videos