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