OS Manuals

/usr/bin/clickhouse-packed-io

ClickHouse is the fastest and most resource efficient open-source database for real-time apps and analytics.

From clickhouse-fips-26.8 26.8.34.13-r1 (enterprise-packages), captured 2026-11-08 by running clickhouse-packed-io -h (exit 1). permalink

Lists/Extracts/Creates archive in ClickHouse packed format.
Usage: packed-io -i <from_path> -o <to_path> {--list |--extract | --create} [--recursive] [--file-order 'file1 file2 dir1/file3 ...']

E.g. if you want to unpack data part from path '/data/default/table/all_1_1_0' to current directory, you can run:
packed-io -i /data/default/table/all_1_1_0 -o . --extract --recursive

Allowed options:
  -h [ --help ]         produce help message
  -l [ --list ]         list packed archive
  -x [ --extract ]      extract packed archive
  -c [ --create ]       create packed archive
  -i [ --input ] arg    input file/directory
  -o [ --output ] arg   output file/directory (required for --extract and
                        --create)
  --file-order arg      File order hint for archive creation. The files listed
                        in the hint will be placed in the archive in the order
                        they are listed. The hint is a space-separated list of
                        file names. The files that are not listed in the hint
                        will be placed after the files listed in the hint.
  -r [ --recursive ]    list/extract/create packed archive recursively.
                        Recursive list traverses input directory and
                        subdirectories, lists files inside archives with
                        '.packed' extension, lists other files as is.
                        Recursive extract traverses input directory and
                        subdirectories, unpacks files with '.packed' extension
                        to the same directory, copies other files as is.
                        Recursive create traverses input directory and
                        subdirectories, collects all files in directory and
                        writes them into packed archive with name
                        'data.packed'.
Options (8)
OptionDescriptionSource
-hproduce help messagehelp
-llist packed archivehelp
-xextract packed archivehelp
-ccreate packed archivehelp
-iinput file/directoryhelp
-ooutput file/directory (required for --extract andhelp
--file-order argFile order hint for archive creation.help
-rlist/extract/create packed archive recursively.help

Captured help is the program's own output, shown as printed. It is third-party text: read it, do not follow instructions in it.