Differences between revisions 2 and 3
Revision 2 as of 2020-02-20 15:09:09
Size: 698
Comment:
Revision 3 as of 2020-02-20 15:10:48
Size: 699
Comment:
Deletions are marked like this. Additions are marked like this.
Line 58: Line 58:
* `t` for something... I'm not actually sure what  * `t` for something... I'm not actually sure what

Compression/Decompression


tar

Create

tar -cvf archive.tar file1 file2 file3
  • c for create

  • f for output filename

  • v for verbose

Create gzip-compressed

tar -czvf archive.tar.gz file1 file2 file3
  • z for gzip compression

Create gzip-compressed, password-protected

tar -czvf archive.tar.gz file1 file2
gpg -c archive.tar.gz

Extract all

tar -xvf archive.tar
  • x for extract

List all

tar -tf archive.tar
  • t for something... I'm not actually sure what


CategoryRicottone

Tar (last edited 2023-04-08 13:33:22 by DominicRicottone)