Your Browser is not longer supported

Please use Google Chrome, Mozilla Firefox or Microsoft Edge to view the page correctly
Loading...

{{viewport.spaceProperty.prod}}

ft_tar

&pagelevel(4)&pagelevel

GNU ’tar' saves many files together into a single tape or disk archive, and can restore individual files from the archive.

Usage

ft_tar   [OPTION]... [FILE]...

If a long option shows an argument as mandatory, then it is mandatory for the equivalent short option also. Similarly for optional arguments.

Main operation mode:

-t, --list list the contents of an archive

-x, --extract, --get extract files from an archive

-c, --create create a new archive

-r, --append append files to the end of an archive

-u, --update only append files newer than copy in archive

Operation modifiers:

-k, --keep-old-files don't overwrite existing files when extracting

-U, --unlink-first remove each file prior to extracting over it

--recursive-unlink empty hierarchies prior to extracting directory

-O, --to-stdout extract files to standard output

Device selection and switching:

-f, --file=ARCHIVE use archive file or device ARCHIVE

Archive format selection:

-z, --gzip, --ungzip filter the archive through gzip

Informative output:

--help print this help, then exit

--version print tar program version number, then exit

-v, --verbose verbosely list files processed

FILE may be a file or a device.

*This* `tar' defaults to `-f- -b20'.

Report bugs to <tar-bugs@gnu.org>.