diff options
Diffstat (limited to 'libre/p7zip-libre/unzip')
-rwxr-xr-x | libre/p7zip-libre/unzip | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/libre/p7zip-libre/unzip b/libre/p7zip-libre/unzip new file mode 100755 index 000000000..201dc826c --- /dev/null +++ b/libre/p7zip-libre/unzip @@ -0,0 +1,18 @@ +#!/bin/bash +# unzip replacement written by Henry Jensen <hjensen@gmx.de> + +Opts="" +cm="x" +while getopts plvtTZ opt +do + case $opt in + p) Opts="$Opts -so";; + v|l) cm="l";; + t) cm="t";; + T|Z) ;; + \?)break;; + esac +done +shift $((OPTIND-1)) + +7z $cm $Opts "$@" |