Page 1 of 1
Zip extraction of multiple files
Posted: 22 Nov 2013 11:03
by manuel
Hi everybody
Is there such a thing as zip extraction for multiple files?
With Right Click -> Zip -> Extract here it extracts the first of all selected zip files.
I usually extract 50 zips at once using 7-Zip
Thanks for your help
Re: Zip extraction of multiple files
Posted: 22 Nov 2013 11:08
by admin
Hi and welcome,
no, it only extracts the focused file. For more advanced unzipping you have to a specialized software (like 7-Zip).
Don
Re: Zip extraction of multiple files
Posted: 24 Nov 2013 17:40
by totmad1
you could try this script
Code: Select all
"(smart)Multi Extract to other pane"
$SelectedItems = get("SelectedItemsPathNames", "|");
$a = get("path", i); $zfile = "";
// change (get("path", i)) to (get("path", a) to extract here
foreach($Item, $SelectedItems, "|") {
$pList = zip_list($Item , <crlf>);
$file = gettoken( $pList, 1, <crlf>);
$pPath = getpathcomponent( "$file", "component", -2);
if ( $pPath == "" ) {
zip_extract($Item , $a\<curbase>\);
}
else {
zip_extract($Item , "$a\");
}
$pPath =""; $file ="";
}
of course this only works on zips but if you want other formats I've found 7zip has xtras
script for 7zip here
http://www.xyplorer.com/xyfc/viewtopic. ... 2&start=30
HTH
Re: Zip extraction of multiple files
Posted: 24 Nov 2013 18:55
by highend