Differences between revisions 2 and 4 (spanning 2 versions)
Revision 2 as of 2020-02-20 15:09:09
Size: 698
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
Line 58: Line 59:
* `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)