tar -cf file.tar dir/
-archive using tar, extracttar -xvf file.tar
sudo tar -czf file.tar.gz dir/
gzip dir
gzip file
- compress filetar -c Documents/ | pigz > Documents.tar.gz
- compress using pigz (parallel gzip)gunzip archive.gz
unzip -x <file.zip> -d <destination_dir>
- unzipzip -r {filename.zip} {foldername}
-zipzip -r assignment3 assignment3 -x assignment3/images/** -x assignment3/instructions.pdf
- excludeunzip -l assignment3.zip
- list
7z x <file.7z>
- unzip
binwalk -e -M <file.zip>
- tries different extraction methods and recursively uznips