tar(1) - SerenityOS man pages

Name

tar - file archiving utility

Synopsis

$ tar [--create] [--extract] [--list] [--verbose] [--gzip] [--file FILE] [PATHS...]

Description

tar is an archiving utility designed to store multiple files in an archive file (tarball).

Files may also be compressed and decompressed using GNU Zip (GZIP) compression.

Options

Examples

# List the contents of archive.tar
$ tar -t -f archive.tar

# Extract the contents from archive.tar.gz
$ tar -x -z -f archive.tar.gz

# Extract the contents from archive.tar
$ tar -x -f archive.tar

See also