X-Git-Url: https://git.jankratochvil.net/?p=nethome.git;a=blobdiff_plain;f=bin%2Fexx;h=8321cf303a1aa28e7e1112dff8bf826ad6f5c064;hp=1c87db06d792208205125dc35b17d8e5cc673bbb;hb=257109ce5b17e8bf1e9990564d3eef7722746c0b;hpb=75c3d27d95dd84b8d8cb5e12ca7837a6276de262 diff --git a/bin/exx b/bin/exx index 1c87db0..8321cf3 100755 --- a/bin/exx +++ b/bin/exx @@ -13,6 +13,7 @@ use constant FORMAT_TAR=>'tar xf $pathname;i=`echo *`;echo "$i"|grep -q " " || t use constant FORMATS=>{ "rpm" =>'rpm2cpio $pathname|cpio -id --quiet', #-v #FIXME: --sparse doesn't work, why? "zip" =>'unzip -Lq $pathname', + "jar" =>'unzip -Lq $pathname', "a" =>'ar x $pathname', "deb" =>'ar x $pathname;' .'for i in *.tar.gz;do j=`basename $i .tar.gz`;mkdir -p $j;cd $j;tar xzf ../$i;cd ..;rm -f $i;done', @@ -23,6 +24,7 @@ use constant FORMATS=>{ "tar.bz2"=>do { $_=FORMAT_TAR; s/xf/xjf/; $_; }, "tar.bz" =>"tar.bz2", "tbz" =>"tar.bz", + "msi" =>'cabextract -q $pathname', }; die "Syntax: $0 )>..."