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