Better compression settings

This commit is contained in:
Cyryl Płotnicki 2018-04-07 15:07:45 +01:00
parent e9febc5de3
commit 3c6e3ee8d6

View file

@ -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