HDF5(1)

πŸ“¦
version 19.04.1 Β· 2 versions
, in debian bookworm, ubuntu noble

πŸ’– HDF5(1) β€” User Commands πŸ’–

okay bestie, sit down, we're learning h5ar today and honestly? it's giving archiver royalty πŸ‘‘


✨ NAME ✨

h5ar β€” the HDF5 archiver πŸ—‚οΈ (yes that's the whole name section, she's mysterious like that)


πŸ¦‹ SYNOPSIS πŸ¦‹

h5ar [ARCHIVE [option [...]] <archive_file> <item-to-archive> [...]  |
CAT [option [...]] <archive_file> <item-to-cat> [...]  | EXTRACT [option
[...]] <archive_file> [<item-to-unarchive> [...]]  | DELETE [option [...]]
<archive_file> <item-to-delete> [...]  | LIST [option [...]] <archive_file>
[<item-to-list> [...]]  | VERIFY [option [...]] <archive_file>
[<item-to-verify> [...]]]

🌸 DESCRIPTION 🌸

so h5ar is an HDF5 archiver, and she does it all: she can create an HDF5 archive, extract it, and manipulate it in various ways. πŸ’… the way she does this is by calling an executable jar file β€” that's the tea, no cap. β˜•


πŸŽ€ OPTIONS πŸŽ€

one bullet per flag, and there are a LOT of them, because she's thorough like that. πŸ’–

  • -B, --build β€” prints out the build and environment information πŸ› οΈ
  • -C, --compress-all β€” compresses all files πŸ—œοΈ
  • -D, --suppress-directories β€” suppresses output for directories itself for LIST and VERIFY (default: false) πŸ™ˆ
  • -E, --exclude-dirs _REGEX_ β€” excludes directories according to provided regex 🚫
  • -F, --file-format _N_ β€” specifies the file format version when creating an archive (N=1 -> HDF51.8 (default), N=2 -> HDF51.10), N=99 -> LATEST (default: 1) πŸ“¦
  • -H, --help β€” shows this help text πŸ†˜
  • -I, --include-dirs _REGEX_ β€” includes directories according to provided regex βœ…
  • -N, --no-sync β€” does not sync to disk before program exits (write mode only) (default: false) πŸ’Ύ
  • -R, --recursive β€” recursive LIST and VERIFY (default: false) πŸ”
  • -S, --stop-on-error β€” stops on first error and gives detailed error report (default: false) πŸ›‘
  • -V, --version β€” prints out the version information 🏷️
  • -a, --verify-attributes β€” considers file attributes for VERIFY (default: false) πŸ”
  • -c, --compress _REGEX_ β€” compresses files according to provided regex πŸ—œοΈ
  • -e, --exclude _REGEX_ β€” excludes files according to provided regex 🚫
  • -i, --include _REGEX_ β€” includes files according to provided regex βœ…
  • -m, --check-missing-files β€” checks for files present on the filesystem but missing from the archive for VERIFY (default: false) 😭
  • -n, --numeric β€” uses numeric values for mode, uid and gid for LIST and VERIFY (default: false) πŸ”’
  • -nc, --no-compression _REGEX_ β€” does not compress files satisfying provided regex πŸ™…
  • -q, --quiet β€” quiet operation (only error output) (default: false) 🀫
  • -r, --root-dir _DIR_ β€” root directory for archiving / extracting / verifying 🌳
  • -t, --test-checksums β€” tests CRC32 checksums of files in archive for LIST (default: false) πŸ§ͺ
  • -v, --verbose β€” verbose output (all operations) (default: false) πŸ—£οΈ

πŸ‘‘ Modes (command capitalization ignored) πŸ‘‘

the vibes change based on which mode you pick, but bestie she does NOT care about your capitalization β€” lowercase, uppercase, mix it up, she's unbothered. πŸ’…

  • ARCHIVE (AR, A): add files on the file system to an archive (always recursive) πŸ“₯
  • CAT (C): extract files from an archive to stdout πŸ“€
  • EXTRACT (EX, E): extract files from an archive to the file system (always recursive) πŸ“‚
  • DELETE (REMOVE, RM, D): delete files from an archive πŸ—‘οΈ
  • LIST (LS, S): list files in an archive πŸ“‹
  • VERIFY (VF, V): verify the existence and integrity of files on the file system vs. the contents of an archive πŸ•΅οΈ

🌈 EXAMPLES 🌈

okay these are the moments, the iconic demo runs, let's go πŸ”₯

h5ar ar /tmp/home -r ~/ .
  • will create home.h5ar in /tmp containing all files of the user's home directory (note: ARCHIVE is always recursive). ✨
h5ar ls -v -R -t -S /tmp/home
  • will list the full content of archive /tmp/home.h5ar recursively, with full detail and verify the checksums; stop if there is a checksum mismatch. πŸ’€ (respectfully, checksums do NOT play)
h5ar vf -r ~/ -v -R -m /tmp/home foo bar
  • will verify the contents of directories foo/ and bar/ in archive /tmp/home.h5ar recursively against the user's home directory, detecting any missing files. πŸ”

🫢 SEE ALSO 🫢

the full documentation for HDF5 is maintained as a Texinfo manual. if the info and HDF5 programs are properly installed at your site, the command

info HDF5

should give you access to the complete manual. πŸ“–


πŸ’œ AUTHOR πŸ’œ

this manual page was created by Pierre Gruet <pgt@debian.org> for the Debian GNU/Linux distribution, because the original package does not have one. shoutout to Pierre honestly, doing the lord's work πŸ™


and that's the whole page bestie, you ate πŸ’…

HDF5 archiver version 19.04.0 πŸŽ€ May 2020 πŸŽ€ HDF5(1) β€” mwah, bye, go archive something πŸ’–βœ¨πŸ¦‹

πŸ“¦ where this page comes from