sync/scripts/decompress_and_unarchive.sh

5 lines
112 B
Bash
Executable File

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