Bash tar


title: Bash tar

Bash command: tar

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

Examples :

Create archive.tar from files file1 and file2

tar -cf archive.tar file1 file2

Extract all files in current directory

tar -xf archive.tar

This article needs improvement. You can help improve this article. You can also write similar articles and help the community.