tar
GNU `tar` saves many files together into a single tape or disk archive, and can restore individual files from the archive.
Overview
An archiving program designed to store and extract files from an archive file known as a tarball. It may also be used for compression.
Syntax
tar [OPTION...] [FILE]...Examples
$ tar -cvf archive.tar /path/to/directory
Create a tar archive named archive.tar from /path/to/directory.
$ tar -xvf archive.tar
Extract files from archive.tar.
$ tar -czvf archive.tar.gz /path/to/directory
Create a gzipped tar archive.
Related Commands
archivecompressbackuppackagetarballtar