git://git.jankratochvil.net
/
nethome.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
+arj: unarj(1)
[nethome.git]
/
bin
/
exx
diff --git
a/bin/exx
b/bin/exx
index
df78524
..
15e7832
100755
(executable)
--- a/
bin/exx
+++ b/
bin/exx
@@
-13,6
+13,7
@@
use constant FORMATS=>{
"zip"=>'unzip -Lq !',
"a" =>'ar x !',
"deb"=>'ar x !;for i in *.tar.gz;do j=`basename $i .tar.gz`;mkdir -p $j;cd $j;tar xzf ../$i;cd ..;rm -f $i;done',
"zip"=>'unzip -Lq !',
"a" =>'ar x !',
"deb"=>'ar x !;for i in *.tar.gz;do j=`basename $i .tar.gz`;mkdir -p $j;cd $j;tar xzf ../$i;cd ..;rm -f $i;done',
+ "arj"=>'unarj x !',
};
die "Syntax: $0 <pathname((".join("|",map(".$_",sort keys %{+FORMATS})).")|=<ext>)>..."
};
die "Syntax: $0 <pathname((".join("|",map(".$_",sort keys %{+FORMATS})).")|=<ext>)>..."