Answers for "compress file using tar.gz linux"

2

compress folder in tar.gz unix

#Compress a folder in tar.gz format
tar -zcvf final_archive.tar.gz folder_to_compress/

#Multicore compression using pigz (can be installed with: conda install -c anaconda pigz)
tar cf - ./folder_to_compress/ | pigz -9 -p NPROC > final_archive.tar.gz
Posted by: Guest on March-30-2021
10

unzip a tar.gz file in linux

tar -xvzf community_images.tar.gz
Posted by: Guest on May-20-2020
4

files tar.gz

tar -czvf name-of-archive.tar.gz /path/to/directory-or-file
Posted by: Guest on January-25-2020

Code answers related to "Shell/Bash"

Browse Popular Code Answers by Language