OS Manuals

/usr/bin/sozip

GDAL library and tools without Python/Java bindings

From gdal-no-py 3.13.3-r4 (enterprise-packages), captured 2026-11-08 by running sozip help (exit 1). permalink

Missing source filename(s)

Usage: /usr/bin/sozip [--help] [--long-usage] [--help-general]
                      [--recurse-paths]
                      [[--grow]|[--overwrite]]
                      [[--list]|[--validate]|[--optimize-from <input.zip>]]
                      <zip_filename> [<input_files>]...

Advanced options:
                      [[--quiet]|[--verbose]]
                      [--junk-paths] [--enable-sozip auto|yes|no]
                      [--sozip-chunk-size <value in bytes or with K/M suffix>]
                      [--sozip-min-file-size <value in bytes or with K/M/G suffix>]
                      [--content-type <string>]

Generate a seek-optimized ZIP (SOZip) file.

Positional arguments:
  <zip_filename>                                               ZIP filename.
  <input_files>                                                Filename of the file to add. [nargs: 0 or more]

Optional arguments:
  -h, --help                                                   Shows short help message and exits.
  --long-usage                                                 Shows long help message and exits.
  --help-general                                               Report detailed help on general options.
  -r, --recurse-paths                                          Travels the directory structure of the specified directories recursively.
  -g, --grow                                                   Grow an existing zip file with the content of the specified filename(s). Default mode.
  --overwrite                                                  Overwrite the target zip file if it already exists.
  -l, --list                                                   List the files contained in the zip file.
  --validate                                                   Validates a ZIP/SOZip file.
  --optimize-from <input.zip>                                  Re-process {input.zip} to generate a SOZip-optimized .zip

Advanced options (detailed usage):
  --quiet                                                      Quiet mode. No progress message is emitted on the standard output.
  --verbose                                                    Verbose mode.
  -j, --junk-paths                                             Store just the name of a saved file (junk the path), and do not store directory names.
  --enable-sozip auto|yes|no                                   In auto mode, a file is seek-optimized only if its size is above the value of
                                                               --sozip-chunk-size. In yes mode, all input files will be seek-optimized.
                                                               In no mode, no input files will be seek-optimized.
  --sozip-chunk-size <value in bytes or with K/M suffix>       Chunk size for a seek-optimized file. Defaults to 32768 bytes.
  --sozip-min-file-size <value in bytes or with K/M/G suffix>  Minimum file size to decide if a file should be seek-optimized. Defaults to 1 MB byte.
  --content-type <string>                                      Store the Content-Type for the file being added.

For more details, consult https://gdal.org/programs/sozip.html
Options (16)
OptionDescriptionSource
-h, --helpShows short help message and exits.help
--long-usageShows long help message and exits.help
--help-generalReport detailed help on general options.help
-r, --recurse-pathsTravels the directory structure of the specified directories recursively.help
-g, --growGrow an existing zip file with the content of the specified filename(s).help
--overwriteOverwrite the target zip file if it already exists.help
-l, --listList the files contained in the zip file.help
--validateValidates a ZIP/SOZip file.help
--optimize-from input.zipRe-process {input.zip} to generate a SOZip-optimized .ziphelp
--quietQuiet mode.help
--verboseVerbose mode.help
-j, --junk-pathsStore just the name of a saved file (junk the path), and do not store directory names.help
--enable-sozip auto|yes|noIn auto mode, a file is seek-optimized only if its size is above the value ofhelp
--sozip-chunk-size valueChunk size for a seek-optimized file.help
--sozip-min-file-size valueMinimum file size to decide if a file should be seek-optimized.help
--content-type stringStore the Content-Type for the file being added.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.