Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR SHELL

compress folder pigz

tar cf - ./folder_to_compress/ | pigz -9 -p NPROC > archive.tar.gz 	#With control on threads number
tar -I pigz -cf archive.tar.gz ./folder_to_compress/ #!!!!! No threads control, pigz will use all cores available
 
PREVIOUS NEXT
Tagged: #compress #folder #pigz
ADD COMMENT
Topic
Name
2+1 =