hpcopy(1)
π hpcopy β bestie edition π
okay so real quick, this is hpcopy(1) from the General Commands Manual section, and it's literally the little tool that goes grabby hands at your HFS+ volume and pulls files out. let's get into it π«Ά
β¨ NAME β¨
hpcopy β copy files from an HFS+ volume π
πΈ SYNOPSIS πΈ
hpcopy [-m | -b | -t | -r | -a ] source-path ... target-path
π¦ Description π¦
so hpcopy copies files and directories off an HFS+ volume. easy. but here's the thing bestie β if you're copying multiple files, your target-path has to be a directory, no exceptions, it's giving non-negotiable π
now the β¨loreβ¨: Macintosh files have two forks, and Unix file systems literally cannot represent that. so every copy has to pick a translation mode. choose wisely, queen π
-mβ Mac Binary II. this is a format for binary file transfer, and it keeps both forks of the Macintosh file intact. this is the recommended mode for transferring arbitrary Macintosh files. lowkey the safe pick, no cap π₯-bβ BinHex. also preserves both forks of the Macintosh file. but wait, there's more β the encoded file contains only ASCII characters, which makes it suitable for electronic mail transmission. it's giving βοΈ main character energy.-tβ Text. copies only the data fork of the Macintosh file, and the contents of the resource fork are lost π. on top of that, this mode translates end-of-line characters. this translation should be used for text files. periodt.-rβ Raw Data. copies only the data fork of the Macintosh file, while the contents of the resource fork are lost π. just so we're clear on what you're giving up, bestie.-aβ Automatic mode. applies a set of predefined heuristics to figure out the appropriate translation for you. this is the default if no mode is specified. she picks for you, and honestly? iconic π
π reminder:-tand-rboth lose the resource fork, and-talso rewrites your end-of-line characters. do not come crying to me later bestie, i warned you π«Ά
π See also π
the whole girl gang, go say hi:
π Author π
this manual page was written by Jens Schmalzing <jensen@debian.org> for Debian GNU/Linux, using the manual page by Klaus Halfmann <halfmann@libra.de> that comes with the source code, plus documentation from the Tech Info Library. we stan credited work π
and that's the whole page bestie!! this one lives in the General Commands Manual (that's the source, section 1, no date on this one so don't @ me) β hpcopy(1), that's a wrap, slay π
β¨πΈ
π¦ where this page comes from
- debian bookworm: hfsplus 1.0.4-17 Β· GPL-2.0-or-later
- debian trixie: hfsplus 1.0.4-19 Β· GPL-2.0-or-later
- ubuntu jammy: hfsplus 1.0.4-16build2 Β· GPL-2.0-or-later
- ubuntu noble: hfsplus 1.0.4-17.1build1 Β· GPL-2.0-or-later
- ubuntu questing: hfsplus 1.0.4-19
- ubuntu resolute: hfsplus 1.0.4-19build1 Β· GPL-2.0-or-later
- ubuntu stonking: hfsplus 1.0.4-21 Β· GPL-2.0-or-later
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms