sync/scripts/decompress_and_unarchive.sh

6 lines
146 B
Bash
Executable File

#!/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