Scroll to navigation

TARLZ(1) User Commands TARLZ(1)

NAME

tarlz - creates tar archives with multimember lzip compression

SYNOPSIS

tarlz operation [options] [files]

DESCRIPTION

Tarlz is a massively parallel (multi-threaded) combined implementation of the tar archiver and the lzip compressor. Tarlz uses the compression library lzlib.

Tarlz creates tar archives using a simplified and safer variant of the POSIX pax format compressed in lzip format, keeping the alignment between tar members and lzip members. The resulting multimember tar.lz archive is backward compatible with standard tar tools like GNU tar, which treat it like any other tar.lz archive. Tarlz can append files to the end of such compressed archives.

Keeping the alignment between tar members and lzip members has two advantages. It adds an indexed lzip layer on top of the tar archive, making it possible to decode the archive safely in parallel. It also minimizes the amount of data lost in case of corruption.

The tarlz file format is a safe POSIX-style backup format. In case of corruption, tarlz can extract all the undamaged members from the tar.lz archive, skipping over the damaged members, just like the standard (uncompressed) tar. Moreover, the option '--keep-damaged' can be used to recover as much data as possible from each damaged member, and lziprecover can be used to recover some of the damaged members.

Operations:

display this help and exit
output version information and exit
append archives to the end of an archive
create a new archive
find differences between archive and file system
delete files/directories from an archive
append files to the end of an archive
list the contents of an archive
extract files/directories from an archive
compress existing POSIX tar archives
check version of lzlib and exit

OPTIONS

set target size of input data blocks [2x8=16 MiB]
change to directory <dir>
use archive file <archive>
follow symlinks; archive the files they point to
set number of (de)compression threads [2]
compress to <file> ('-' for stdout)
don't subtract the umask on extraction
suppress all messages
verbosely list files processed
-0 .. -9
set compression level [default 6]
don't compress the archive created
create solidly compressed appendable archive
create per block compressed archive (default)
create per directory compressed archive
create per file compressed archive
create solidly compressed archive
equivalent to '--owner=root --group=root'
use <owner> name/ID for files added to archive
use <group> name/ID for files added to archive
exclude files matching a shell pattern
ignore differences in owner and group IDs
compare only file size and file content
ignore mtime overflow differences on 32-bit
don't delete partially extracted files
exit with error status if missing extended CRC
use <date> as mtime for files added to archive
number of 1 MiB output packets buffered [64]
warn if any file is newer than the archive

If no archive is specified, tarlz tries to read it from standard input or write it to standard output.

Exit status: 0 for a normal exit, 1 for environmental problems (file not found, files differ, invalid command-line options, I/O errors, etc), 2 to indicate a corrupt or invalid input file, 3 for an internal consistency error (e.g., bug) which caused tarlz to panic.

REPORTING BUGS

Report bugs to lzip-bug@nongnu.org
Tarlz home page: http://www.nongnu.org/lzip/tarlz.html

COPYRIGHT

Copyright © 2024 Antonio Diaz Diaz. Using lzlib 1.14-rc1 License GPLv2+: GNU GPL version 2 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it. There is NO WARRANTY, to the extent permitted by law.

SEE ALSO

The full documentation for tarlz is maintained as a Texinfo manual. If the info and tarlz programs are properly installed at your site, the command

info tarlz

should give you access to the complete manual.

January 2024 tarlz 0.25