diff options
author | root <root@rshg054.dnsready.net> | 2011-09-07 23:14:18 +0000 |
---|---|---|
committer | root <root@rshg054.dnsready.net> | 2011-09-07 23:14:18 +0000 |
commit | e63433d7f10b5c32f348d4b2cfb38c777b314420 (patch) | |
tree | dd2e715c7aa77af456428a1eb7657c369fea9ba2 /libre/p7zip-libre/unzip | |
parent | 3a9ddbf363ba691ca209ad36485390d14ba3b46f (diff) |
Wed Sep 7 23:14:18 UTC 2011
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 "$@" |