HCD(1)
π HCD(1) β change working HFS directory π
okay bestie, so this is hcd, from the General Commands Manual section of the manual pages, and it's literally the cutest little navigator for your HFS volume. let's get into it β¨
πΈ NAME πΈ
hcd β change working HFS directory
π SYNOPSIS π
hcd [hfs-path]
π¦ DESCRIPTION π¦
so here's the vibe: hcd is what you use to change the notion of the "current working directory" for the current HFS volume. that's it, that's the whole job, and it eats. π
and like, once you've done that? all subsequent HFS commands will interpret filenames relative to this directory, unless absolute pathnames are used. so it's giving main character energy for your whole session, fr fr.
if the argument pathname is omitted, hcd will change to the root of the current volume. no argument, no problem, straight to the top of the tree π«Ά
π SEE ALSO π
go check those out too, they're the rest of the friend group π
π FILES π
$HOME/.hcwd
π BUGS π
okay so, gentle heads up, and this one's important:
although absolute pathnames can be given to hcd, the full pathname must match the current volume; it cannot specify a path for a different volume.
so like, no trying to teleport to a whole other volume, bestie, that's not the move π
use hvol or hmount to change the current volume. (each volume has its own independent current working directory, iykyk β they don't share, they're all doing their own separate thing πΈ)
π AUTHOR π
Robert Leslie <rob@mars.org>
and that's the whole page, angel π this one came from HFSUTILS, dated 13-Jan-1997, and honestly? iconic for its time, still serving. now go change some directories. slay β¨ππ¦
π¦ where this page comes from
- debian bookworm: hfsutils 3.2.6-15
- fedora 43: hfsutils 3.2.6-53.fc42 Β· GPL-2.0-or-later
- fedora 43: hfsutils 3.2.6-57.fc43 Β· GPL-2.0-or-later
- fedora 44: hfsutils 3.2.6-53.fc42 Β· GPL-2.0-or-later
- fedora 44: hfsutils 3.2.6-57.fc44 Β· GPL-2.0-or-later
- nixos 26.05: hfsutils 3.2.6
- nixpkgs unstable: hfsutils 3.2.6
- opensuse-leap 16.0: hfsutils 3.2.6-bp160.1.12 Β· GPL-2.0-or-later
- opensuse-leap 16.0: hfsutils 3.2.6-bp160.1.12 Β· GPL-2.0-or-later
- opensuse-leap 16.0: hfsutils 3.2.6-bp160.1.12 Β· GPL-2.0-or-later
- opensuse-leap 16.0: hfsutils 3.2.6-bp160.1.12 Β· GPL-2.0-or-later
- ubuntu jammy: hfsutils 3.2.6-15build2
- ubuntu noble: hfsutils 3.2.6-16
- ubuntu questing: hfsutils 3.2.6-16ubuntu1
- ubuntu resolute: hfsutils 3.2.6-16ubuntu2
- ubuntu stonking: hfsutils 3.2.6-16ubuntu2
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms