Installation
sudo apt-get install pigz
Compress folder
FOLDER_TO_TAR="" tar --create --file $FOLDER_TO_TAR.tar $FOLDER_TO_TAR pigz --best $FOLDER_TO_TAR.tar
Extract
One can use the default "file roller" application to uncompress the directory, or just use either of the following commands
tar --extract --gzip --file $FOLDER_TO_TAR.tar.gz pigz -d folder-to-tar.tar.gz && tar --extract --file $FOLDER_TO_TAR.tar
No comments:
Post a Comment