X-Git-Url: https://git.jankratochvil.net/?a=blobdiff_plain;f=bin%2Fexx;h=a37132ddba677a4aa8005481b51665aff2d2884f;hb=405c014d7c70df9006cf1c927af28c60b2b82924;hp=1c87db06d792208205125dc35b17d8e5cc673bbb;hpb=75c3d27d95dd84b8d8cb5e12ca7837a6276de262;p=nethome.git diff --git a/bin/exx b/bin/exx index 1c87db0..a37132d 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',