All apps/tar

tar

tar

tar creates, lists and extracts archive files.

Runs as tar|macOS, Linux, Windows

Autocomplete

Fig spec, with what the manifest adds · 13 subcommands · 39 options
Published once and never changed; check the digest before caching
sha256
ea19f721fa6e6ffd497fc30271c126e3adf7849226cf943dd7486e2c7c77a64d
Size
139062 bytes
Subcommands13 subcommands
tar A
Append archive to the end of another archive
tar c
Create a new archive
tar d
Find differences between archive and file system
tar t
List the contents of an archive
tar r
Append files to the end of an archive
tar u
Append files which are newer than the corresponding copy in the archive
tar x
Extract files from an archive
tar --delete
Delete from the archive
tar --test-label
Test the archive volume label and exit
tar --show-defaults
Show built-in defaults for various tar options and exit
tar ?
Display a short option summary and exit
tar --usage
Display a list of available options and exit
tar --version
Print program version and copyright information and exit
OptionsOn tar itself
g-g--listed-incremental
Handle new GNU-format incremental backups <FILE>
--hole-detection
Use METHOD to detect holes in sparse files <METHOD>
G-G--incremental
Handle old GNU-format incremental backups
--sparse-version
Set version of the sparse format to use <MAJOR[.MINOR]>
S-S--sparse
Handle sparse files efficiently
--ignore-command-error
Ignore subprocess exit codes
--no-ignore-command-error
Treat non-zero exit codes of children as error
--numeric-owner
Always use numbers for user/group names
--acls
Enable POSIX ACLs support
--no-acls
Disable POSIX ACLs support
--selinux
Enable SELinux context support
--no-selinux
Disable SELinux context support
--xattrs
Enable extended attributes support
--no-xattrs
Disable extended attributes support
--xattrs-exclude
Specify the exclude pattern for xattr keys <PATTERN>
--xattrs-include
Specify the include pattern for xattr keys <PATTERN>
--backup
Backup before removal <CONTROL>
C-C--directory
Change to DIR before performing any operations <DIR>
--newer-mtime
Work on files whose data changed after the DATE <DATE>
--no-null
Disable the effect of the previous --null option
--no-recursion
Avoid descending automatically in directories
--no-unquote
Do not unquote input file or member names
--no-verbatim-files-from
Treat each line read from a file list as if it were supplied in the command line
-null
Instruct subsequent -T options to read null-terminated names verbatim
--recursion
Recurse into directories
--suffix
Backup before removal, override usual suffix <STRING>
T-T--files-from
Get names to extract or create from FILE <FILE>
--unquote
Unquote file or member names
--verbatim-files-from
Treat each line obtained from a file list as a file name, even if it starts with a dash
X-X--exclude-from
Exclude files matching patterns listed in FILE <FILE>
--index-file
Send verbose output to FILE <FILE>
--no-quote-chars
Disable quoting for characters from STRING <STRING>
--quote-chars
Additionally quote characters from STRING <STRING>
--quoting-style
Set quoting style for file and member names <STYLE>
R-R--block-number
Show block number within archive with each message
--show-transformed-names--show-stored-names
Show file or archive names after transformation by --strip and --transform options
--totals
Print total bytes after processing the archive <SIGNAL>
v-v--verbose
Verbosely list files processed
w-w--interactive--confirmation
Ask for confirmation for every action