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

10 lines
124 B
Bash
Executable File

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