LinuxCommandLibrary
GitHubF-DroidGoogle Play Store

mkzftree

creates compressed filesystem trees

TLDR

Compress directory tree
$ mkzftree [input/] [output/]
copy
Set compression level
$ mkzftree -z [9] [input/] [output/]
copy
Force overwrite
$ mkzftree -f [input/] [output/]
copy
Verbose output
$ mkzftree -v [input/] [output/]
copy
Parallelize
$ mkzftree -p [4] [input/] [output/]
copy

SYNOPSIS

mkzftree [options] input output

DESCRIPTION

mkzftree creates compressed directory trees suitable for use with transparent decompression on ISO 9660 (zisofs) filesystems. Files in the output tree are individually compressed using zlib, and the directory structure is preserved.The compressed trees are designed to be used with mkisofs (or genisoimage) with the `-z` option to create ISO images where files are transparently decompressed at read time on Linux systems with zisofs support.

PARAMETERS

INPUT

Source directory.
OUTPUT
Destination directory.
-z LEVEL
Compression level (1-9).
-f
Force overwrite.
-v
Verbose output.
-p JOBS
Parallel jobs.
--help
Display help information.

CAVEATS

Part of zisofs-tools. Transparent decompression requires Linux kernel zisofs support. Only useful for ISO 9660 filesystem creation; not a general-purpose compression tool.

HISTORY

mkzftree is part of zisofs-tools for creating transparent compression on ISO9660 filesystems.

SEE ALSO

Copied to clipboard
Kai