Files
freeCodeCamp/guide/english/bash/bash-tar/index.md
2019-05-11 17:09:05 -04:00

344 B

title
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