HDF5(1)
π 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 forLISTandVERIFY(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β recursiveLISTandVERIFY(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 forVERIFY(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 forVERIFY(default:false) π-n,--numericβ uses numeric values for mode, uid and gid forLISTandVERIFY(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 forLIST(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 tostdoutπ€ - 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.h5arin/tmpcontaining all files of the user's home directory (note:ARCHIVEis always recursive). β¨
h5ar ls -v -R -t -S /tmp/home
- will list the full content of archive
/tmp/home.h5arrecursively, 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/andbar/in archive/tmp/home.h5arrecursively 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
- debian bookworm: h5ar 19.04.1+dfsg-3 Β· Apache
- ubuntu noble: h5ar 19.04.1+dfsg-4build3 Β· Apache
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms