Add xz to extract function

This commit is contained in:
Jonathan Hodgson 2021-02-13 20:16:37 +00:00
parent a01eaad4d0
commit 5aa76ee721

View file

@ -81,6 +81,14 @@ if [ -f "$1" ] ; then
7z x "$1"
fi
;;
*.xz)
if [ "$2" ]; then
#7z x "$1" -o"$2"
echo "Not sure"
else
xz -d "$1"
fi
;;
*) echo "don't know how to extract '$1'..." ;;
esac
else