<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>_mxr blog &#187; minutesavers</title>
	<atom:link href="http://blog.mxr.at/category/minutesavers/feed/" rel="self" type="application/rss+xml" />
	<link>http://blog.mxr.at</link>
	<description>unprocessed dumps of various kind</description>
	<lastBuildDate>Sat, 26 Nov 2011 15:06:54 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3</generator>
		<item>
		<title>Unrar via terminal.</title>
		<link>http://blog.mxr.at/unrar-via-terminal/</link>
		<comments>http://blog.mxr.at/unrar-via-terminal/#comments</comments>
		<pubDate>Wed, 16 Sep 2009 08:05:57 +0000</pubDate>
		<dc:creator>Christoph Tilley</dc:creator>
				<category><![CDATA[minutesavers]]></category>
		<category><![CDATA[osx]]></category>
		<category><![CDATA[terminal]]></category>

		<guid isPermaLink="false">http://blog.mxr.at/?p=38</guid>
		<description><![CDATA[On a mac, to extract a rar compressed file, you can simply use a free tool called Unrar X. Get it here. I have most of my rar compressed files on my remote server though, so I can avoid using a GUI program by invoking a terminal command via ssh which goes like this: $ [...]]]></description>
			<content:encoded><![CDATA[<p>On a mac, to extract a <a href="http://en.wikipedia.org/wiki/RAR">rar</a> compressed file, you can simply use a free tool called <a href="http://www.unrarx.com/">Unrar X</a>. Get it <a href="http://www.unrarx.com/files/UnRarX_2.2.zip">here</a>. </p>
<p>I have most of my rar compressed files on my remote server though, so I can avoid using a GUI program by invoking a terminal command via ssh which goes like this: <code>$ unrar x &lt;path-to-rar&gt; &lt;path-to-extract&gt;</code><br />
<span id="more-38"></span><br />
Sometimes I encounter rar files which are password protected. No problem for unrar via commandline. Just use the &#8220;-p&#8221; switch:<br />
<code>$ unrar x -p &lt;path-to-rar&gt; &lt;path-to-extract&gt;</code></p>
]]></content:encoded>
			<wfw:commentRss>http://blog.mxr.at/unrar-via-terminal/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>How to batch-unzip via terminal.</title>
		<link>http://blog.mxr.at/how-to-batch-unzip-via-terminal/</link>
		<comments>http://blog.mxr.at/how-to-batch-unzip-via-terminal/#comments</comments>
		<pubDate>Mon, 14 Sep 2009 13:53:37 +0000</pubDate>
		<dc:creator>Christoph Tilley</dc:creator>
				<category><![CDATA[minutesavers]]></category>
		<category><![CDATA[osx]]></category>
		<category><![CDATA[terminal]]></category>

		<guid isPermaLink="false">http://blog.tilley.at/?p=10</guid>
		<description><![CDATA[Sometimes when you download split-archives from the internet, archive creators seem to love putting a split-archive split into more archives and split these split archives into even more split archives. Zip and rar compression mixed, of course. When trying to extract these archives you might end up having a file structure similar to this: file1.zip, [...]]]></description>
			<content:encoded><![CDATA[<p>Sometimes when you download split-archives from the internet, archive creators seem to love putting a split-archive split into more archives and split these split archives into even more split archives. Zip and rar compression mixed, of course. When trying to extract these archives you might end up having a file structure similar to this:</p>
<blockquote><p>file1.zip, file2.zip, file3.zip, file4.zip, file5.zip, file6.zip, etc.</p></blockquote>
<p><span id="more-10"></span></p>
<p>With a simple terminal command you can batch-unzip all of them.</p>
<p>The command is: <code>$ unzip &lt;path-to-files&gt;/\*.zip</code><br />
Please mind the backslash. Otherwise the command doesn&#8217;t work.</p>
<p>After searching more through the web I found an alternative method, which could also be useful for different purposes: <code>$ for var in *.zip; do unzip "$var";done</code></p>
<p>Basically this command finds all files with a .zip extension and unzips them. With a similar syntax you can, for example, delete every zip file in the current directory: <code>$ for var in *.zip; do rm "$var";done</code></p>
<p>I found this technique <a href="http://www.howtogeek.com/howto/ubuntu/unzip-or-unrar-many-files-at-once-in-linux/">here</a>.</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.mxr.at/how-to-batch-unzip-via-terminal/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

