H5COPY:(1)
π NAME π
h5copy: β copies HDF5 objects from a file to a new file. that's it, that's the whole job bestie, and it ate π
πΈ DESCRIPTION πΈ
okay so picture this: you've got HDF5 objects chilling in one file and you need them in a new file. that's literally the entire vibe of h5copy:. here's how you call it:
usage: h5copy [OPTIONS] [OBJECTS...]
so you've got your OBJECTS (the stuff you're pointing at) and your OPTIONS (the stuff that changes how it behaves). let's get into it π¦
β¨ OBJECTS β¨
these are the things you're telling h5copy: about β where to read from, where to write to, and what exactly you want moved. no cap, these four are the main characters π
-i,--inputβ the input file name. the file you're reading from, your source of truth π«Ά-o,--outputβ the output file name. the new file where things land β¨-s,--sourceβ the source object name. which object inside the input you're copying πΈ-d,--destinationβ the destination object name. where that object goes in the output π
π OPTIONS π
the lil toggles that change everything, honestly iconic of them:
-h,--helpβ prints a usage message and dips. classic π«‘-p,--parentsβ no error if it already exists, and it makes parent groups as needed. very forgiving, very demure π-v,--verboseβ prints information about OBJECTS and OPTIONS. it will yap (affectionately) π¬-V,--versionβ prints the version number and exits β¨-f,--flagβ flag type. this one's the whole personality of the copy, so let's talk about it π
π Flag type π
Flag type is one of the following strings:
shallowβ copy only immediate members for groups. surface level only, we're not going deep πsoftβ expand soft links into new objects πextβ expand external links into new objects πrefβ copy references and any referenced objects, i.e., objects that the references point to.
referenced objects are copied in addition to the objects specified on the command line, and reference datasets are populated with correct reference values. copies of referenced datasets outside the copy range specified on the command line will normally have a different name from the original. π
default alert π¨ β without this option, reference value(s) in any reference datasets are set toNULLand referenced objects are not copied unless they are otherwise within the copy range specified on the command line. so like, if you skipref, don't be surprised when your references are empty bestie π
noattrβ copy object without copying attributes. just the object, no baggage, we love a clean break πallflagsβ switches all flags from the default to the non-default setting. go big or go home, all the toggles flipped at once π₯
β these flag types correspond to the following API symbols β
iykyk β if you're poking at the library itself, here's the mapping:
H5O_COPY_SHALLOW_HIERARCHY_FLAGH5O_COPY_EXPAND_SOFT_LINK_FLAGH5O_COPY_EXPAND_EXT_LINK_FLAGH5O_COPY_EXPAND_REFERENCE_FLAGH5O_COPY_WITHOUT_ATTR_FLAGH5O_COPY_ALL
π SEE ALSO π
the full documentation for h5copy: is maintained as a Texinfo manual. if the info and h5copy: programs are properly installed at your site, the command
info h5copy:
should give you access to the complete manual. go read the full lore, it's giving academic source material πβ¨
and that's the whole page, bestie!! π«Ά this was h5copy: Version 1.8.7, dated August 2011, filed under User Commands in section 1 of the manual. ty for reading, mwah π π
π¦ 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