ptrepack(1) Copy any PyTables Leaf, Group or complete subtree into another file.


ptrepack -h -v -o -R start,stop,step --non-recursive --dest-title=title --dont-copyuser-attrs --overwrite-nodes --complevel=(0-9) --complib=lib --shuffle=(0|1) --fletcher32=(0|1) --keep-source-filters --upgrade-flavors --dont-regenerate-old-indexes sourcefile:sourcegroup destfile:destgroup


Copy any Leaf, Group or complete subtree from a PyTables file into another file.


A summary of options is included below.
Prints a help text.
Show more information.
Overwrite destination file.
Select a RANGE of rows in the form start,stop,step during the copy of all the leaves.
Do not do a recursive copy. Default is to do it.
Title for the new file (if not specified, the source is copied).
Do not copy the user attrs (default is to do it).
Overwrite destination nodes if they exist. Default is not to overwrite them.
Set a compression level (0 for no compression, which is the default).
Set the compression library to be used during the copy. lib can be set to "zlib", "lzo", "ucl" or "bzip2". Defaults to "zlib".
Activate or not the shuffling filter (default is active if complevel>0).
Whether to activate or not the fletcher32 filter (not active by default).
Use the original filters in source files. The default is not doing that if any of --complevel, --complib, --shuffle or --fletcher32 option is specified.
When repacking PyTables 1.x files, the flavor of leaves will be unset. With this, such a leaves will be serialized as objects with the internal flavor ("numpy" for 2.x series).
Disable regenerating old indexes. The default is to regenerate old indexes as they are found.


This manual page was written by Francesc Altet <[email protected]>.