tar xz tips Compress a directory using multiple threads and show a progress bar with this script: #!/usr/bin/env bash # example: tar_cJf.sh ./directory > directory.tar.xz SOURCE="$1"