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 π
-hor-?or--helpβ print a usage message and exit. she says her piece then dips, periodt βοΈ-aor--addressβ print addresses for raw data.-dor--dataβ print the values of datasets. the receipts, fr fr π§Ύ-eor--errorsβ show all HDF5 error reporting.-for--fullβ print full path names instead of base names. no nicknames, government name only π-gor--groupβ show information about a group, not its contents. don't go snooping through her inner circle π-lor--labelβ label members of compound datasets.-ror--recursiveβ list all groups recursively, avoiding cycles. she goes deep but she never loops back on herself, that's main character discipline π-sor--stringβ print 1-bytes integer datasets as ASCII.-Sor--simpleβ use a machine-readable output format. for when the robots need to read it too π€-wNor--width=Nβ set the number of columns of output.-vor--verboseβ generate more verbose output. she will tell you everything and you will listen π¬-Vor--versionβ print version number and exit.-xor--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%%05dto 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:
h5dump(1)h5diff(1)h5repart(1)h5import(1)gif2h5(1)h52gif(1)h5perf(1)
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 π¦β¨π
π¦ where this page comes from
- debian bookworm: hdf5-tools 1.10.8+repack1-1 Β· BSD-3-Clause
- debian trixie: hdf5-tools 1.14.5+repack-3 Β· BSD-3-Clause
- epel 10: hdf5 1.14.5-1.el10_0 Β· BSD-3-Clause
- epel 9: hdf5 1.12.1-7.el9.1 Β· BSD
- fedora 43: hdf5 1.14.6-6.fc43 Β· BSD-3-Clause
- fedora 43: hdf5 1.14.6-6.fc43 Β· BSD-3-Clause
- fedora 44: hdf5 1.14.6-7.fc44 Β· BSD-3-Clause
- fedora 44: hdf5 1.14.6-7.fc44 Β· BSD-3-Clause
- ubuntu jammy: hdf5-tools 1.10.7+repack-4ubuntu2 Β· BSD-3-Clause
- ubuntu noble: hdf5-tools 1.10.10+repack-3.1ubuntu4 Β· BSD-3-Clause
- ubuntu questing: hdf5-tools 1.14.5+repack-3build1
- ubuntu resolute: hdf5-tools 1.14.6+repack-2 Β· BSD-3-Clause
- ubuntu stonking: hdf5-tools 2.2.0+repack-5 Β· BSD-3-Clause
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms