summaryrefslogtreecommitdiff
path: root/libre/p7zip-libre/unzip
blob: 201dc826cc51c6e7dde8b326dce865264a2dd557 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
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 "$@"