#!/bin/sh FPATH=$1 if [ -z "$FPATH" ]; then echo "Usage: $0 " exit 1 fi exec tar cf - $FPATH | xz -9 -0 --memlimit-compress=48GiB