<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0"
    xmlns:dc="http://purl.org/dc/elements/1.1/"
     xmlns:admin="http://webns.net/mvcb/"
     xmlns:content="http://purl.org/rss/1.0/modules/content/"
     xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#">
	<channel> 

	<title>Comments on: I'm looking for a good, preferably free, batch unzipping utility.</title>
	<link>http://ask.metafilter.com/21900/Im-looking-for-a-good-preferably-free-batch-unzipping-utility/</link>
	<description>Comments on Ask MetaFilter post I'm looking for a good, preferably free, batch unzipping utility.</description>
	<pubDate>Fri, 29 Jul 2005 15:12:54 -0800</pubDate>
	<lastBuildDate>Fri, 29 Jul 2005 15:12:54 -0800</lastBuildDate>
	<language>en-us</language>
	<docs>http://blogs.law.harvard.edu/tech/rss</docs>
	<ttl>60</ttl>

	<item>
		<title>Question: I&apos;m looking for a good, preferably free, batch unzipping utility.</title>
		<link>http://ask.metafilter.com/21900/Im-looking-for-a-good-preferably-free-batch-unzipping-utility</link>	
		<description>I&apos;m looking for a batch unzipping utility, with two stipulations. &lt;br /&gt;&lt;br /&gt; 1. The utility must have the ability to extract the contents of each zip archive into an individual folder that retains the name of the archive.&lt;br&gt;
2. The utility would preferably be free.&lt;br&gt;
&lt;br&gt;
So &quot;apples.zip,&quot; &quot;oranges.zip,&quot; &quot;kumquats.zip,&quot; and &quot;bananaphones.zip&quot; should become folders &quot;apples,&quot; &quot;oranges,&quot; &quot;kumquats,&quot; and &quot;bananaphones&quot; with the contents of each archive in the respective folder.  The utility must ignore any directory structure already within the archives and just create a new structure based on the names of the archives alone.&lt;br&gt;
&lt;br&gt;
Google came up with a lot of results but none of them looked like they would do the &quot;extract to individual folders&quot; thing.  Heck, I have WinZip, and it will batch unzip files, but unless I&apos;m using it wrong it wants to extract all the files to the same directory, which is not what I want.&lt;br&gt;
&lt;br&gt;
Any solutions would be appreciated, thanks.</description>
		<guid isPermaLink="false">post:ask.metafilter.com,2005:site.21900</guid>
		<pubDate>Fri, 29 Jul 2005 14:59:40 -0800</pubDate>
		<dc:creator>Ziggy Zaga</dc:creator>
		
			<category>unzip</category>
		
			<category>compression</category>
		
	</item> <item>
		<title>By: rxrfrx</title>
		<link>http://ask.metafilter.com/21900/Im-looking-for-a-good-preferably-free-batch-unzipping-utility#352607</link>	
		<description>I would go about using the command-line pkunzip.exe and just whip up a BATch file that, for each zipped file, creates a directory of the same name and then calls pkunzip.exe to extract to that directory (directory structure within the archive will be ignored unless you use pkunzip -d)</description>
		<guid isPermaLink="false">comment:ask.metafilter.com,2005:site.21900-352607</guid>
		<pubDate>Fri, 29 Jul 2005 15:12:54 -0800</pubDate>
		<dc:creator>rxrfrx</dc:creator>
	</item><item>
		<title>By: Rhomboid</title>
		<link>http://ask.metafilter.com/21900/Im-looking-for-a-good-preferably-free-batch-unzipping-utility#352616</link>	
		<description>This can be done easily using any decent shell.  The following would work at a bash prompt and needs only the unzip command.   Well, basename too.  (Under linux, you already have this; under Windows install Cygwin or MSYS or GnuWin32 or ...)&lt;br&gt;
&lt;br&gt;
&lt;tt&gt;for F in *.zip; do unzip $F -d `basename $F .zip` -j; done&lt;/tt&gt;</description>
		<guid isPermaLink="false">comment:ask.metafilter.com,2005:site.21900-352616</guid>
		<pubDate>Fri, 29 Jul 2005 15:41:43 -0800</pubDate>
		<dc:creator>Rhomboid</dc:creator>
	</item><item>
		<title>By: grouse</title>
		<link>http://ask.metafilter.com/21900/Im-looking-for-a-good-preferably-free-batch-unzipping-utility#352621</link>	
		<description>I don&apos;t think you have completely specified what you want. Once you have, though, it should be easy to do with Cygwin, shell scripting, and the unzip command.&lt;br&gt;
&lt;br&gt;
&lt;em&gt;The utility must ignore any directory structure already within the archives and just create a new structure based on the names of the archives alone.&lt;/em&gt;&lt;br&gt;
&lt;br&gt;
So I give you a apple.zip file that contains:&lt;br&gt;
&lt;br&gt;
pink/lady.txt&lt;br&gt;
red/delicious.txt&lt;br&gt;
golden/delicious.txt&lt;br&gt;
&lt;br&gt;
You want it to spit out a apple\ directory but with what inside? If you just ignore the directory structure then what do you do with the two files named delicious.txt?</description>
		<guid isPermaLink="false">comment:ask.metafilter.com,2005:site.21900-352621</guid>
		<pubDate>Fri, 29 Jul 2005 15:44:44 -0800</pubDate>
		<dc:creator>grouse</dc:creator>
	</item><item>
		<title>By: kindall</title>
		<link>http://ask.metafilter.com/21900/Im-looking-for-a-good-preferably-free-batch-unzipping-utility#352638</link>	
		<description>You want &lt;a href=&quot;http://www.stuffit.com/win/expander/index.html&quot;&gt;StuffIt Expander&lt;/a&gt;, it can be configured to make an enclosing folder with the same name as the archive. (Part of the StuffIt Standard trial download, but you can use the Expander part for free indefinitely without being nagged.)</description>
		<guid isPermaLink="false">comment:ask.metafilter.com,2005:site.21900-352638</guid>
		<pubDate>Fri, 29 Jul 2005 16:11:13 -0800</pubDate>
		<dc:creator>kindall</dc:creator>
	</item><item>
		<title>By: kindall</title>
		<link>http://ask.metafilter.com/21900/Im-looking-for-a-good-preferably-free-batch-unzipping-utility#352641</link>	
		<description>Oh, sorry, didn&apos;t see the bit about flattening the directories. Expander won&apos;t do that. In fact I can&apos;t think of any program that has that.</description>
		<guid isPermaLink="false">comment:ask.metafilter.com,2005:site.21900-352641</guid>
		<pubDate>Fri, 29 Jul 2005 16:13:22 -0800</pubDate>
		<dc:creator>kindall</dc:creator>
	</item><item>
		<title>By: krisjohn</title>
		<link>http://ask.metafilter.com/21900/Im-looking-for-a-good-preferably-free-batch-unzipping-utility#352658</link>	
		<description>Stuffit Deluxe has a very powerful scripting (and schedulling) tool.  I&apos;m not at one of my PCs at the moment, but soon as I am I&apos;ll see if it does what you want...</description>
		<guid isPermaLink="false">comment:ask.metafilter.com,2005:site.21900-352658</guid>
		<pubDate>Fri, 29 Jul 2005 16:38:11 -0800</pubDate>
		<dc:creator>krisjohn</dc:creator>
	</item><item>
		<title>By: Ziggy Zaga</title>
		<link>http://ask.metafilter.com/21900/Im-looking-for-a-good-preferably-free-batch-unzipping-utility#352666</link>	
		<description>&lt;i&gt;I would go about using the command-line pkunzip.exe and just whip up a BATch file that, for each zipped file, creates a directory of the same name and then calls pkunzip.exe to extract to that directory (directory structure within the archive will be ignored unless you use pkunzip -d)&lt;/i&gt; -  rxrfrx&lt;br&gt;
&lt;br&gt;
Given what I&apos;m working with, that sounds like it would work the easiest for me.  I&apos;ll try it in a few minutes.&lt;br&gt;
&lt;br&gt;
&lt;i&gt;This can be done easily using any decent shell. The following would work at a bash prompt and needs only the unzip command. Well, basename too. (Under linux, you already have this; under Windows install Cygwin or MSYS or GnuWin32 or ...)&lt;/i&gt; - rhomboid&lt;br&gt;
&lt;br&gt;
I&apos;ll have to try that if I can&apos;t make the batch file idea work.&lt;br&gt;
&lt;br&gt;
&lt;i&gt;You want it to spit out a apple\ directory but with what inside? If you just ignore the directory structure then what do you do with the two files named delicious.txt?&lt;/i&gt; - grouse&lt;br&gt;
&lt;br&gt;
I would think that in such a case, either the program/utility i&apos;m using would prompt me asking what to do with it, or would just skip it altogether and alert me of the incident at the end.  &lt;br&gt;
For my purposes though it isn&apos;t a concern because i&apos;m dealing with zip archives full of files that have time/dates as filenames, so there&apos;s very little chance of having two identically-named files.&lt;br&gt;
&lt;br&gt;
&lt;i&gt;You want StuffIt Expander...&lt;/i&gt; - kindall&lt;br&gt;
&lt;i&gt;Stuffit Deluxe has a very powerful scripting (and schedulling) tool...&lt;/i&gt; - krisjohn&lt;br&gt;
&lt;br&gt;
Thanks for the recommendations; I will try StuffIt if the first two ideas don&apos;t work.  Flattening the directory structure isn&apos;t the most important thing I&apos;m looking for in the type of utility I need, but it would just save me some work later on.&lt;br&gt;
&lt;br&gt;
Thanks for all the responses!</description>
		<guid isPermaLink="false">comment:ask.metafilter.com,2005:site.21900-352666</guid>
		<pubDate>Fri, 29 Jul 2005 16:58:12 -0800</pubDate>
		<dc:creator>Ziggy Zaga</dc:creator>
	</item><item>
		<title>By: krisjohn</title>
		<link>http://ask.metafilter.com/21900/Im-looking-for-a-good-preferably-free-batch-unzipping-utility#352670</link>	
		<description>Don&apos;t bother with Stuffit.  I&apos;ve just been playing with the automation tool and I can&apos;t find any way for it to either flatten the archive &lt;i&gt;or&lt;/i&gt; extract to a folder based on the archive name, rather than the contents of the archive.&lt;br&gt;
&lt;br&gt;
There&apos;s an app called &quot;&lt;a href=&quot;http://www.izarc.org/&quot;&gt;IZarc&lt;/a&gt;&quot; that I know is able to automatically put a group of files all into their own archive when compressing, which is fairly unusual.  It could be that it&apos;s also flexible enough to do what you want when decompressing.  I don&apos;t have it installed on this particular PC, I&apos;m just grabbing it now.&lt;br&gt;
&lt;br&gt;
Unlike Stuffit Deluxe, it&apos;s free.</description>
		<guid isPermaLink="false">comment:ask.metafilter.com,2005:site.21900-352670</guid>
		<pubDate>Fri, 29 Jul 2005 17:03:36 -0800</pubDate>
		<dc:creator>krisjohn</dc:creator>
	</item><item>
		<title>By: kindall</title>
		<link>http://ask.metafilter.com/21900/Im-looking-for-a-good-preferably-free-batch-unzipping-utility#352673</link>	
		<description>&lt;i&gt;I can&apos;t find any way for it to either flatten the archive or extract to a folder based on the archive name&lt;/i&gt;&lt;br&gt;
&lt;br&gt;
Edit &amp;gt; Application Options &amp;gt; Expansion &amp;gt; Create Surrounding Folder: Always.</description>
		<guid isPermaLink="false">comment:ask.metafilter.com,2005:site.21900-352673</guid>
		<pubDate>Fri, 29 Jul 2005 17:07:12 -0800</pubDate>
		<dc:creator>kindall</dc:creator>
	</item><item>
		<title>By: krisjohn</title>
		<link>http://ask.metafilter.com/21900/Im-looking-for-a-good-preferably-free-batch-unzipping-utility#352682</link>	
		<description>IZarc does it in one swish move.&lt;br&gt;
&lt;br&gt;
I built three archives;  apple.zip, pear.zip and banana.zip&lt;br&gt;
&lt;br&gt;
apple.zip had two folders, red and green, one with one file in it, on with two.  pear.zip had one folder named shaped with a file in it.  banana.zip had one folder named banana with another folder with two files in it.&lt;br&gt;
&lt;br&gt;
Highlight all three zip files, right-click, select Extract to... (from the IZarc sub-menu),  Uncheck &quot;Restore Original Folders&quot;, press [Extract].&lt;br&gt;
&lt;br&gt;
Poof!&lt;br&gt;
&lt;br&gt;
Three folders named apple, pear and banana with no sub-folders in them and all files from the archive in one flat soup.&lt;br&gt;
&lt;br&gt;
Enjoy.</description>
		<guid isPermaLink="false">comment:ask.metafilter.com,2005:site.21900-352682</guid>
		<pubDate>Fri, 29 Jul 2005 17:17:46 -0800</pubDate>
		<dc:creator>krisjohn</dc:creator>
	</item><item>
		<title>By: Ziggy Zaga</title>
		<link>http://ask.metafilter.com/21900/Im-looking-for-a-good-preferably-free-batch-unzipping-utility#352698</link>	
		<description>Thanks for your efforts krisjohn, IZarc seems to be the most foolproof method of doing it that I am now aware of.&lt;br&gt;
&lt;br&gt;
I did discover that WinRAR will also extract files to individual directories, but does not flatten the directory structure.  &lt;br&gt;
&lt;br&gt;
I am liking this IZarc program though.&lt;br&gt;
&lt;br&gt;
Thanks again to everyone who responded :)</description>
		<guid isPermaLink="false">comment:ask.metafilter.com,2005:site.21900-352698</guid>
		<pubDate>Fri, 29 Jul 2005 17:40:01 -0800</pubDate>
		<dc:creator>Ziggy Zaga</dc:creator>
	</item><item>
		<title>By: gentle</title>
		<link>http://ask.metafilter.com/21900/Im-looking-for-a-good-preferably-free-batch-unzipping-utility#352969</link>	
		<description>Actually, WinRAR also does this. Highlight whatever files you want to extract, right-click, select &lt;i&gt;Extract...&lt;/i&gt;, then in the dialog, check &lt;i&gt;Extract archives to subfolders&lt;/i&gt; and (in the &lt;i&gt;Advanced&lt;/i&gt; tab) &lt;i&gt;Do not extract pathnames&lt;/i&gt;.</description>
		<guid isPermaLink="false">comment:ask.metafilter.com,2005:site.21900-352969</guid>
		<pubDate>Sat, 30 Jul 2005 14:01:05 -0800</pubDate>
		<dc:creator>gentle</dc:creator>
	</item>
	</channel>
</rss>
