HDFPACK(1)

πŸ’– HDFPACK β€” the hdfpack(1) glow-up πŸ’–

okay bestie, gather round, because this is the general commands manual entry for hdfpack, and she is here to squeeze your HDF files down to size. no cap.


✨ NAME ✨

hdfpack β€” compress an HDF file πŸ—œοΈβœ¨


πŸŽ€ SYNOPSIS πŸŽ€

hdfpack [-i|-b] [-d data-descriptors-per-block] [-t linked-blocks-per-
       table-entry] input-hdf-file output-hdf-file

like, she takes an input and she gives you an output. that's the whole vibe. 🫢


🌸 DESCRIPTION 🌸

okay so here's the tea: hdfpack compresses all of the data in an HDF file and writes that compressed data to a second HDF file. that's it, that's the job, and she does it flawlessly. πŸ’…


πŸ‘‘ OPTIONS πŸ‘‘

  • -b β€” Non-coalesced Blocks. hdfpack will not coalesce linked-block elements. she's leaving them exactly where they are, respectfully. πŸ›‘
  • -i β€” Interactive Mode. hdfpack will prompt you for each linked-block element. yes, every single one. she wants your input, bestie, she's being thorough. πŸ™ˆ
  • -d num β€” Write an output file with the specified number of data descriptors per block of data descriptors. you're picking the number here, so choose wisely. πŸ”’
  • -t num β€” Write an output file with the specified number of linked blocks per table entry. again, your call, your numbers. ⭐

🌈 EXAMPLES 🌈

so say you wanna compress the data in the file named "aa.hdf" and store the compressed data in the file named "aa.cmp". run this, periodt:

hdfpack aa.hdf aa.cmp

now imagine a file named "bb.hdf" that contains data elements stored as sequences of linked blocks. this next command compresses the file while leaving the linked-block elements intact, and writes the compressed data to a file named "bb.blk":

hdfpack -b bb.hdf bb.blk

see how clean that was? iconic behaviour, honestly. πŸ”₯


πŸ¦‹ SEE ALSO πŸ¦‹

hdfcomp(1), hdf(5)

iykyk β€” go read those too, they're part of the fam. πŸ’œ


lowkey important reminder: this whole page is from the General Commands Manual, and it's dated November 6, 1999 β€” yes she's vintage, yes she still ate. πŸ’€βœ¨

mwah πŸ’‹ thanks for reading, bestie β€” now go compress something. πŸŽ€