From 3c6e3ee8d6122760b264ca1b55ff8875c39c9deb Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Cyryl=20P=C5=82otnicki?= Date: Sat, 7 Apr 2018 15:07:45 +0100 Subject: [PATCH] Better compression settings --- tools/compress-large-dir | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/compress-large-dir b/tools/compress-large-dir index 026549ac..92412ac0 100755 --- a/tools/compress-large-dir +++ b/tools/compress-large-dir @@ -13,4 +13,4 @@ if [ ! -e $dir ]; then exit 1 fi -benice tar -cf - $dir | pv -ptabI -s $(du -sb $dir | awk '{print $1}') | pixz -9 > $dir.tar.xz +tar -cf - $dir | pv -ptabI -s $(du -sb $dir | awk '{print $1}') | pixz -9 -f 3 -p $((`nproc`-1)) > $dir.tar.xz