Differences between revisions 3 and 4
Revision 3 as of 2020-02-20 15:10:48
Size: 699
Comment:
Revision 4 as of 2022-09-27 01:54:23
Size: 747
Comment:
Deletions are marked like this. Additions are marked like this.
Line 1: Line 1:
## page was renamed from CheatsheetCompression

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)