hpls(1)
π hpls β bestie edition π
okay so like, this is the manual page for hpls, and it lives in section 1 of the General Commands Manual, which is where all the cool commands hang out. it lists stuff on HFS+ volumes. let's get into it. π¦
β¨ NAME β¨
hpls β list the contents of a directory on an HFS+ volume. that's it. that's the whole vibe. π
πΈ SYNOPSIS πΈ
hpls [options] [hfs-path ...]
π DESCRIPTION π
so hpls is literally what you use to list files and directories on an HFS+ volume. if you hand it one or more arguments, each file or directory you named gets shown. if you don't hand it anything? it just shows you the contents of the current working directory. no thoughts, head empty, just your cwd. π
π OPTIONS π
-1β every entry gets its own line. one entry, one line, periodt. this is the default when standard output is not a terminal.-aβ show ALL the entries, even the "invisible" ones. default is to hide invisible files (rude of the default, honestly).-cβ sort and display entries by their creation date instead of their modification date.-dβ list the directory entries themselves instead of what's inside them. normally, if you name a directory on the command-line, you get its contents β this says "no bestie, give me the directory itself."-iβ show the catalogue ID for each entry. every single file and directory on an HFS+ volume has a unique catalogue ID, no cap. π₯-lβ long format, main character energy. this shows:- entry type:
"d"for directory,"f"for file,"F"for locked file - flags:
"i"for invisible - type and creator (four-character strings) β files only
- size (number of items in a directory, or resource and data bytes of a file, respectively)
- date of last modification (or creation if the
-cflag is given) - and the name π
- entry type:
-mβ continuous format, entries separated by commas. streamy.-qβ swap special and non-printable characters in displayed filenames for question marks (?). this is the default when standard output is a terminal.-rβ sort entries in reverse order before displaying. flip it and reverse it. π-sβ show the file size for each entry in 1K block units. heads up: the size includes blocks used for both data and resource forks. both. forks. π΄-tβ sort and display entries by time. normally files get sorted by name, but this switches it up. it sorts by last modification date unless-cis also specified (then creation date takes over).-xβ column format like-C, except sorted horizontally into rows rather than columns. same energy, different direction.-wwidth β format output lines so they fit the given width. normally the width comes from your terminal, or from the environment variableCOLUMNS, or from a default value of80.-Cβ column format with entries sorted vertically. this is the default output format when standard output is a terminal.-Fβ certain output filenames get a single-character flag tacked on telling you what kind of thing it is: directories get a slash/, and executable Macintosh applications get an asterisk*.-Nβ all filenames get output verbatim, with no question-mark substitution whatsoever.-Rβ for each directory encountered in a listing, recursively descend into it and display its contents. it goes deeper. it always goes deeper. π
ngl bestie, -R can spiral fast β every directory it hits, it dives into. just so you know what you're signing up for.
π«Ά SEE ALSO π«Ά
hfsplus(7), hpmount(1), hpcd(1), hppwd(1), hprm(1), hpmkdir(1), hpcopy(1), hpumount(1), hpfsck(1).
the whole friend group. 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. icons giving credit where credit is due, we love to see it. π
and that's a wrap!! this page is hpls(1) from the General Commands Manual, section 1, and it's genuinely iconic. go list some directories, bestie. 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