Add xz to extract function

master
Jonathan Hodgson 4 years ago
parent a01eaad4d0
commit 5aa76ee721
  1. 8
      bin/.bin/extract

@ -81,6 +81,14 @@ if [ -f "$1" ] ; then
7z x "$1" 7z x "$1"
fi 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'..." ;; *) echo "don't know how to extract '$1'..." ;;
esac esac
else else

Loading…
Cancel
Save