ladybird/Base/usr/share/man/man1/tar.md
Ben Wiederhake 8ff942b5a4 Manpages+markdown-checker: Permit only specific missing files
I can't write these manpages ad-hoc, and in most cases I don't want to
remove the link because it is justified. The hope is that with this
FIXME in place, there is more motivation to write these manpages for
someone who knows enough about them. Or at least we will introduce fewer
dead links in the future, making Help more useful.
2021-10-10 15:18:55 -07:00

836 B

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

  • -c, --create: Create archive
  • -x, --extract: Extract archive
  • -t, --list: List contents
  • -v, --verbose: Print paths
  • -z, --gzip: compress or uncompress file using gzip
  • -f, --file: Archive file

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