scripts/tgz2xz
2020-05-26 20:49:09 -04:00

10 lines
127 B
Bash
Executable File

#!/usr/bin/env bash
XZ_OPT=-9
F=$(basename "$1")
mkdir /tmp/"$F"
tar -xzf "$1" -C /tmp/"$F"
tar -cJf "$1".tar.xz /tmp/"$F"