h5ls(1)

✨ NAME ✨

okay bestie, meet h5ls β€” she prints information about a file or dataset. that's the whole job description and she eats every single time πŸ’…


πŸ¦‹ SYNOPSIS πŸ¦‹

h5ls [OPTIONS] file [OBJECTS...]

🌸 DESCRIPTION 🌸

h5ls prints selected information about file objects in the specified format. lowkey that's it, that's the vibe, and yet she is so iconic for it πŸŽ€


πŸ’– OPTIONS πŸ’–

  • -h or -? or --help β€” print a usage message and exit. she says her piece then dips, periodt ✌️
  • -a or --address β€” print addresses for raw data.
  • -d or --data β€” print the values of datasets. the receipts, fr fr 🧾
  • -e or --errors β€” show all HDF5 error reporting.
  • -f or --full β€” print full path names instead of base names. no nicknames, government name only πŸ‘‘
  • -g or --group β€” show information about a group, not its contents. don't go snooping through her inner circle πŸ™ˆ
  • -l or --label β€” label members of compound datasets.
  • -r or --recursive β€” list all groups recursively, avoiding cycles. she goes deep but she never loops back on herself, that's main character discipline πŸŒ€
  • -s or --string β€” print 1-bytes integer datasets as ASCII.
  • -S or --simple β€” use a machine-readable output format. for when the robots need to read it too πŸ€–
  • -wN or --width=N β€” set the number of columns of output.
  • -v or --verbose β€” generate more verbose output. she will tell you everything and you will listen πŸ’¬
  • -V or --version β€” print version number and exit.
  • -x or --hexdump β€” show raw data in hexadecimal format.

and then the two positional besties, don't forget them:

  • file β€” the file name, and ngl she may include a printf(3C) integer format such as %%05d to open a file family 🌈
  • objects β€” each object consists of an HDF5 file name, optionally followed by a slash and an object name within the file. if no object is specified within the file, then the contents of the root group are displayed. the file name may include a printf(3C) integer format such as "%05d" to open a file family.
ok real talk, that printf(3C) thing is how you get a whole file family out of one command and it's giving unhinged genius, iykyk 🫢

πŸ”₯ SEE ALSO πŸ”₯

go bother her friends, they're all icons too:


and that's the whole page bestie πŸ’œ this was h5ls(1) from the General Commands Manual β€” no cap, go print some file info, you're gonna slay πŸ¦‹βœ¨πŸ’–