Definition:
- Tape archive
- Works with tarball
Synopsis:
tar -A [OPTIONS] ARCHIVE ARCHIVE
tar -c [-f ARCHIVE] [OPTIONS] [FILE...]
tar -d [-f ARCHIVE] [OPTIONS] [FILE...]
tar -t [-f ARCHIVE] [OPTIONS] [MEMBER...]
tar -r [-f ARCHIVE] [OPTIONS] [FILE...]
tar -u [-f ARCHIVE] [OPTIONS] [FILE...]
tar -x [-f ARCHIVE] [OPTIONS] [MEMBER...]
List of options:
-
.
-
-c, --create
: create new tarball -
…
-
-t, --list
: List the contents of an archive. Arguments are optional. When given, they specify the names of the members to list. -
-x, --extract, --get
: Extract files from an archive. Arguments are optional. When given, they specify names of the archive members to be extracted. -
-r, --append
: Append files to the end of an archive. Arguments have the same meaning as for -c (—create). -
-f, --file=ARCHIVE
-
Compression options:
- …
-j, --bzip2
: bzip2 package-J, --xz
: xz command- …
-z, --gzip, --gunzip, --ungzip
: gzip command