sync/scripts/decompress_and_unarchive.sh

5 lines
112 B
Bash
Raw Permalink Normal View History

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