Search
 
SCRIPT & CODE EXAMPLE
 

SHELL

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
Comment

PREVIOUS NEXT
Code Example
Shell :: matrix cmd 
Shell :: rpi make executable 
Shell :: history suggestion in terminal 
Shell :: debian install python 3 
Shell :: bash check if number is greater than 
Shell :: bash strip preceeding white space 
Shell :: script dir bash 
Shell :: w: some index files failed to download kali linux 
Shell :: mui version check 
Shell :: voice recorder for ubuntu 20.04 
Shell :: display ip address linux 
Shell :: adb reverse 
Shell :: install en_web_core md 
Shell :: install opencv2 homebrew 
Shell :: updating to gulp 4 
Shell :: how to Install nodejs on a chromebook 
Shell :: live server vim 
Shell :: find depth 1 
Shell :: powershell change hostname 
Shell :: linux groups show name, password, id, members list 
Shell :: add rule ubuntu firewall 
Shell :: git push existing repo 
Shell :: how to set remote url in git 
Shell :: for i in range bash 
Shell :: bash for file in folder 
Shell :: how to force push to heroku 
Shell :: bitbucket delete remote tag 
Shell :: how to open file explorer with sudo ubuntu 
Shell :: ubuntu camera 
Shell :: git log one line 
ADD CONTENT
Topic
Content
Source link
Name
9+9 =