#!/usr/bin/env bash source=${1%/}; # cut off trailing "/" tar cfv $source.tar $source && xz $source.tar;