<?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>SurlyJake &#187; extract</title>
	<atom:link href="http://www.surlyjake.com/tag/extract/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.surlyjake.com</link>
	<description></description>
	<lastBuildDate>Fri, 30 Dec 2011 15:28:12 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
		<item>
		<title>Tar extract destination folder</title>
		<link>http://www.surlyjake.com/2011/02/tar-extract-destination-folder/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=tar-extract-destination-folder</link>
		<comments>http://www.surlyjake.com/2011/02/tar-extract-destination-folder/#comments</comments>
		<pubDate>Tue, 08 Feb 2011 17:51:10 +0000</pubDate>
		<dc:creator>jacob</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[extract]]></category>
		<category><![CDATA[VMware]]></category>

		<guid isPermaLink="false">http://www.surlyjake.com/?p=698</guid>
		<description><![CDATA[Tar can redirect extracted files to a different folder. This can be handy if you want to unpack a tar archive stored on a cd or other read-only media and want to eliminate the step of first copying the archive, extracting it, then deleting the extra tar.  All you have to do is add a [...]]]></description>
			<content:encoded><![CDATA[<p>Tar can redirect extracted files to a different folder. This can be handy if you want to unpack a tar archive stored on a cd or other read-only media and want to eliminate the step of first copying the archive, extracting it, then deleting the extra tar.  All you have to do is add a &#8216;-C &lt;target folder&gt;&#8217; to the tar command.   So here&#8217;s an example using the <a href="http://www.surlyjake.com/tag/vmware/" class="st_tag internal_tag" rel="tag" title="Posts tagged with VMware">VMware</a> Tools tarball:</p>
<pre><code># tar -C /root -zxvf /media/cdrom0/VMwareTools-8.3.2-257589.tar.gz</code></pre>
<p>This will redirect the extracted files into the /root folder. simple</p>
<div class="none"><div class="g-plusone" data-href="http://www.surlyjake.com/2011/02/tar-extract-destination-folder/" size="standard" count="true"></div></div>]]></content:encoded>
			<wfw:commentRss>http://www.surlyjake.com/2011/02/tar-extract-destination-folder/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Batch extract a directory full of split RAR archives &#8220;part1&#8243;, &#8220;part2&#8243;</title>
		<link>http://www.surlyjake.com/2009/07/batch-extract-a-directory-full-of-split-rar-archives-part1-part2/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=batch-extract-a-directory-full-of-split-rar-archives-part1-part2</link>
		<comments>http://www.surlyjake.com/2009/07/batch-extract-a-directory-full-of-split-rar-archives-part1-part2/#comments</comments>
		<pubDate>Sun, 26 Jul 2009 23:18:10 +0000</pubDate>
		<dc:creator>jacob</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[batch]]></category>
		<category><![CDATA[extract]]></category>
		<category><![CDATA[part1]]></category>
		<category><![CDATA[part2]]></category>
		<category><![CDATA[RAR]]></category>
		<category><![CDATA[split]]></category>
		<category><![CDATA[unrar]]></category>

		<guid isPermaLink="false">http://www.surlyjake.com/uncategorized/batch-extract-a-directory-full-of-split-rar-archives-part1-part2/</guid>
		<description><![CDATA[If for some reason you have a directory full of RAR archives, and each is split into parts, extracting them individually can be a pain. If you just type &#8220;unrar *&#8221; into the terminal, you will extract each file multiple times depending on how many &#8220;parts&#8221; it has. First, install the &#8220;unrar&#8221; package: sudo aptitude [...]]]></description>
			<content:encoded><![CDATA[<p>If for some reason you have a directory full of <a href="http://www.surlyjake.com/tag/rar/" class="st_tag internal_tag" rel="tag" title="Posts tagged with RAR">RAR</a> archives, and each is <a href="http://www.surlyjake.com/tag/split/" class="st_tag internal_tag" rel="tag" title="Posts tagged with split">split</a> into parts, extracting them individually can be a pain. If you just type &#8220;<a href="http://www.surlyjake.com/tag/unrar/" class="st_tag internal_tag" rel="tag" title="Posts tagged with unrar">unrar</a> *&#8221; into the terminal, you will <a href="http://www.surlyjake.com/tag/extract/" class="st_tag internal_tag" rel="tag" title="Posts tagged with extract">extract</a> each file multiple times depending on how many &#8220;parts&#8221; it has. First, install the &#8220;<a href="http://www.surlyjake.com/tag/unrar/" class="st_tag internal_tag" rel="tag" title="Posts tagged with unrar">unrar</a>&#8221; package:</p>
<pre><code>sudo aptitude install unrar</code></pre>
<p>then cd to the directory with all of your RAR archives. Then type:</p>
<pre><code>unrar e '*.<a href="http://www.surlyjake.com/tag/part1/" class="st_tag internal_tag" rel="tag" title="Posts tagged with part1">part1</a>.rar'</code></pre>
<p>make sure to keep the single quotes.<br />
If the rar is password protected, add the &#8220;-p&#8221; switch followed by the password without any spaces.</p>
<pre><code>unrar e -p
<password> '*.part1.rar'</code></pre>
<div class="none"><div class="g-plusone" data-href="http://www.surlyjake.com/2009/07/batch-extract-a-directory-full-of-split-rar-archives-part1-part2/" size="standard" count="true"></div></div>]]></content:encoded>
			<wfw:commentRss>http://www.surlyjake.com/2009/07/batch-extract-a-directory-full-of-split-rar-archives-part1-part2/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
	</channel>
</rss>

