[Original thread: http://oldforum.puppylinux.com/viewtopic.php?t=87864]
In order to ease unpacking of various archive formats, I forged One Script to Rule Them All (well, at least most of them ).
It's packaged as a ROX right-click app, but the script itself (/usr/local/apps/UExtract/uextract) can be used from command line.
For example - to extract 'archive.tar.gz', 'arch2.7z' and 'somepkg.rpm' from current dir to /root/somedir:
Code: Select all
uextract -o /root/somedir archive.tar.gz arch2.7z somepkg.rpm
Same thing can be done via 'right-click -> Open With -> UExtract'.
BTW, each archive will be always extracted to a separate subdirectory!
UExtract can make use of the following tools:
-
7z
-
aescrypt
-
age
-
anim_dump
-
apngdis
-
ar
-
arj
-
asar
-
avconv/ffmpeg
-
balz
-
base32
-
base64
-
bbb
-
blkar
-
bcrypt
-
brotli
-
bunzip
-
b(un)zip2
-
b(un)zip3
-
c1541
-
ccrypt
-
cpio
-
cryptsetup
-
dar
-
dcmj2pnm
-
dcml2pnm
-
ddjvu
-
detex-convert
-
dpkg-deb
-
dzip
-
exploderpm
-
extract_chmLib
-
extract-ikconfig
-
fdisk
-
flzp
-
fossil
-
fp8
-
fsbext
-
fusecompress_offline
-
gdisk
-
gifsicle
-
gigdump
-
gigextract
-
gostcrypt
-
gpg/gpg2
-
grpar
-
gs
-
g(un)zip
-
kgb
-
kickstart.php
-
ha
-
hexbin
-
hlextract
-
icotool
-
innoextract
-
lbrate
-
lepton
-
lha
-
lizard
-
losetup
-
lpaq1
-
lpaq8
-
lr(un)zip
-
lz4
-
lz4jsoncat
-
lzfse
-
lzip
-
maxcso
-
mcrypt
-
MPQExtractor
-
msgunfmt
-
nanozip
-
nomarch
-
nulib
-
ostree
-
pak
-
paq8l
-
paq8n
-
paq8o
-
pdfdetach
-
pdfimages
-
pdftocairo
-
pdftotext
-
php
-
pgn-extract
-
picocrypt
-
poweriso
-
qemu-nbd
-
quad
-
ripmime
-
rpm2cpio
-
r(un)zip
-
salvador
-
scrypt
-
sf2dump
-
sf2extract
-
snzip
-
sqlite3
-
steghide
-
stripttc
-
swfextract
-
tar
-
tnef
-
tor
-
tosz
-
truecrypt
-
unace
-
unadf
-
unalz
-
(un)arc
-
(un)asd
-
(un)compress
-
uncpk
-
undms
-
(un)ecm
-
unegg
-
(un)freeze
-
(un)lzma
-
(un)lzop
-
unlzx
-
unmo3
-
unnaf
-
unp64
-
unpack200
-
(un)rar
-
unsquashfs
-
unuc2
-
(un)xz
-
unzip
-
upx
-
uudecode
-
veracrypt
-
wadext
-
wvunpack
-
xar
-
xcur2png
-
xxdecode
-
zimdump
-
zoo
-
zpaq
-
zstd
-
zxing
-
zzip
Supported, though not extensively tested, formats/extensions are:
.??_ .2fs .3fs .3g2 .3ga .3gp .3gpp .4fs .7z .7z.001 .7zip .a .a[0-9][0-9] .a2theme .aab .aar .ab .ace .acp .actc .adf .adz .aes .afzplug .age .ai .apkm .apks .alz .amf .ani .apk .aplp .app .appimage .appx .appxbundle .apz .aqz .ar .arc .arch00 .arduboy .arj .ark .asar .asc .asd .asf .atz .au .avastsounds .avi .azw2 .b32 .b64 .baklz4 .balz .bau .bbb .bdoc .bfe .bgz .bin .blend .bmp .bmz .bootskin .br .bro .btrfs .bxy .bz .bz2 .bzip .bzip2 .bz3 .bzip3 .cab .capx .catrobat .cb7 .cba .cbb .cbg .cbr .cbt .cbz .cdmtz .cdmz .cfs .cgz .chm .chrt .cl2arc .cld .cpgz .cpio .cpio.7z .cpio.br .cpio.bro .cpio.bz .cpio.bz2 .cpio.bzip .cpio.bzip2 .cpio.bz3 .cpio.bzip3 .cpio.f .cpio.gz .cpio.gzip .cpio.lrz .cpio.lz .cpio.lz4 .cpio.lzma .cpio.lzo .cpio.xz .cpio.z .cpio.zip .cpio.zst .cpio.zz .cpk .cpl .cps .cpt .cptl .cptx .cramfs .crf .crx .cso .ctb .ctx .ctz .cur .curtainsstyle .curxptheme .cvd .cxarchive .d41 .d64 .d67 .d71 .d80 .d81 .d82 .d90 .daa .dar .dat .dazip .db .db3 .dbk .dcm .ddeb .dds .deb .depot.gz .deskthemepack .dia .disk .divx .djvu .dll .dmg .dms .docm .docx .dotx .dsk .dsl .dxpack .dylib .dz .ear .eaz .ecm .ecs .ecsbx .eds .efi .efossil .eftx .egg .emerald .eml .emz .eopkg .epk .epub .esriaddin .exe .ext2 .ext3 .ext4 .f .f3d .f3z .f4v .fat .fb2k-component .fcstd .fdi .flac .flatpak .flf .flp .flv .flzp .fomod .fossil .fp8 .fsb .fsl .fwp .fzbz .fzpz .fzz .g3x .g41 .g64 .g71 .gadget .gc .gcf .gem .gg .gif .gifar .gig .gmz .gnumeric .gnutar .goomod .gpg .gpkg.tar .gps .graphmlz .grp .gst .gszip .gtar .gtp .gz .gz2 .gzi .gzip .h264 .ha .hc .hevc .hfs .hfv .hid .hme .hmxz .honmod .hqx .htmlz .htz .hwp .i5z .iar .icl .icmod .icns .ico .igz .ima .image .img .imz .ip .ipa .ipcc .ipg .ipk .ipsw .iso .ita .itz .iwd .ja .jar .jet .jgz .jic .jpa .jpeg .jpg .jps .jsonlz4 .jwpub .k3g .key .kfo .kgb .kmz .kpr .ksf .ksp .ktx .kwd .lbr .lca .lemon .lep .lha .libzip .little .liz .lnx .love .lpaq1 .lpaq8 .lpk .lpkg .lrv .lrz .luks .lxf .lz .lz4 .lza .lzfse .lzh .lzm .lzma .lzo .lzx .m2s .m2ts .m2v .m4b .m4v .maff .mar .mbox .mbx .mbz .mcaddon .mcgame .mcpack .mct .mcworld .mdf .mds .mdz .mdzip .mepx .mga .mht .mhtml .mim .mime .mk3d .mkv .mmip .mo .mo3 .mov .mozlz4 .mp3 .mp4 .mpeg .mpg .mpk .mpkg .mpq .mpz .mpzip .mscz .msg .msi .msix .msp .msu .msz .mtf .mts .mtz .mxf .mxl .mxskin .mzp .mzz .naf .nbf .nbm .nc .ndr .nex .nfl .ngr .nif .nlr .nrg .nsis .nsv .ntfs .nth .numbers .nupkg .nut .nz .oar .obt .ocx .odb .odc .odf .odg .odi .odm .odp .ods .odt .oex .ogg .ogv .ogz .oiv .onepkg .opk .orb .osf .osk .otg .oth .otp .ots .ott .ova .ovp .oxps .oxt .p2s .p2s.backup .pack .package .pages .pak .paq8l .paq8n .paq8o .par .pat .pax .pbi .pbp .pcv .pdf .pdmod .pet .pfs .pgn .pgp .phar .pigm .pigs .pisi .piz .pk3 .pk4 .pkg .pkz .pmlz .png .potx .ppsm .ppsx .pptm .pptx .prg .psz .pup .pvga .pxz .qch .qcow .qcow2 .qcow2c .qpk .qpr .qt .qtz .quad .quiz .r[0-9] .r[0-9][0-9] .rar .rar5 .rbk .reaperthemezip .rjs .rlib .rmskin .rp9 .rpm .rsn .rub .run .rxdbak .rz .s3z .safariextz .sam .sar .sb .sb2 .sb3 .sbsar .sbx .sc2archive .sc2assets .sc2data .sc2ma .sc2mod .scdoc .scm .scr .sdi .sdk .sdt .sdz .sf2 .sfe .sfg .sfs .sfx .sh .sh2 .sh3d .sh3f .sh3t .shar .shk .shr .sifz .sjr .skm .skz .sle .slm .slp .smskin .smt .smzip .snap .snappy .snb .snz .sob .soundpack .sox .spack .spk .spm .sprite2 .sprite3 .sqf .sqfs .sqlar .sqlite .sqlite3 .sqlitedb .sqsh .squashfs .srm .stc .std .sti .stm .stpz .studyarch .stw .styx .sublime-package .sue .svgz .swc .swf .swm .sxc .sxd .sxg .sxi .sxm .sxw .sxz .sys .sz .t64 .tar .tar.7z .tar.br .tar.bro .tar.bz .tar.bz2 .tar.bz3 .tar.bzip3 .tar.bzip .tar.bzip2 .tardist .tar.f .tar.gz .tar.gz2 .tar.gzip .tar.jet .tar.lrz .tar.lz .tar.lz4 .tar.lzma .tar.lzo .tar.md5 .tar.xz .tarz .tar.z .tar.zip .tar.zst .tar.zz .taz .tazpkg .tb2 .tbz .tbz2 .tbz3 .tc .tce .tcel .tcem .tcx .tcz .tg .tgz .themepack .thm .thmx .tlrz .tlz .tlz4 .tlzma .tmf .tnef .tor .tpkg .tpxz .tpz .ts .ts4script .tsk .tsz .ttc .twz .twzip .txz .tz .tzma .tzo .tzst .u .u3p .uax .uc2 .ucimg .udeb .udf .unitypackage .upx .usdz .usfs .ustar .utf .utz .uu .uue .vb .vbox-extpack .vc .vdi .vfd .vgz .vhd .vlt .vmdk .vmg .vob .vp6 .vpk .wa .wad .wal .war .wav .wba .wbm .wbm.gz .webm .webp .webz .wgt .wgz .whl .widget .wim .wlz .wma .wmd .wmga .wmv .wmz .wot .wotmod .wrz .wsp .wsz .wtv .wv .x3d .x64 .xap .xapk .xar .xbps .xcfbz2 .xcfgz .xflac .xjt .xjtbz2 .xjtgz .xlam .xlsm .xlsx .xltx .xmc .xmcdz .xmv .xmz .xo .xoj .xopp .xpak .xpi .xps .xrns .xsn .xwcb .xwp .xx .xxe .xz .xzm .z .z[0-9][0-9] .zab .zabw .zad .zds .zfsendtotarget .zi .zi_ .zim .zip .zipx .zl .zlib .zm9 .zoo .zpaq .zpi .zst .ztd .zw1 .zx0 .zxp .zz
UExtract contains the following translations:
- Polish (me)
- Russian (Sender & Pro) [needs updating]
- German (L18L) [needs updating]
- Spanish (nilsonmorales, vicmz, josejp2424) [needs updating]
- French (Argolance) [needs updating]
- Dutch (foxpup) [needs updating]
_______________
You may also want to try PackIt.
Happy extracting &
Greetings!