<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	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/"
		>
<channel>
	<title>Comments on: unp - Unpack (almost) everything with one command</title>
	<atom:link href="http://www.ubuntugeek.com/unp-unpack-almost-everything-with-one-command.html/feed" rel="self" type="application/rss+xml" />
	<link>http://www.ubuntugeek.com/unp-unpack-almost-everything-with-one-command.html</link>
	<description>Ubuntu Linux Tutorials,Howtos,Tips &#38; News &#124; Oneiric,Natty,Maverick</description>
	<lastBuildDate>Mon, 06 Feb 2012 15:40:01 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
	<item>
		<title>By: Arnaud Diederen</title>
		<link>http://www.ubuntugeek.com/unp-unpack-almost-everything-with-one-command.html/comment-page-1#comment-106320</link>
		<dc:creator>Arnaud Diederen</dc:creator>
		<pubDate>Thu, 14 Jul 2011 11:43:40 +0000</pubDate>
		<guid isPermaLink="false">http://www.ubuntugeek.com/?p=2175#comment-106320</guid>
		<description>&quot;e&quot; doesn&#039;t seem to have an option similar to &quot;unp&quot;&#039;s &#039;smart&#039; mode (-U), which will avoid carelessly-created archives from polluting your current working directory: 

$ unp -h
[...]
   -u Special helper mode.
      For most archive types:
      - create directory /
      - extract contents there
      For Debian/Ubuntu packages:
      - extract data.tar.gz after each operation in local directory
      - extract control.tar.gz into control//
   -U Smart mode, acts like -u (see above) if archive contains multiple
      elements but if there is only one file/directory element then it&#039;s stored 
      in the current directory.
[...]

Also: 
alias e=unp

There. 
No ruby.</description>
		<content:encoded><![CDATA[<p>&#8220;e&#8221; doesn&#8217;t seem to have an option similar to &#8220;unp&#8221;&#8216;s &#8216;smart&#8217; mode (-U), which will avoid carelessly-created archives from polluting your current working directory: </p>
<p>$ unp -h<br />
[...]<br />
   -u Special helper mode.<br />
      For most archive types:<br />
      - create directory /<br />
      - extract contents there<br />
      For Debian/Ubuntu packages:<br />
      - extract data.tar.gz after each operation in local directory<br />
      - extract control.tar.gz into control//<br />
   -U Smart mode, acts like -u (see above) if archive contains multiple<br />
      elements but if there is only one file/directory element then it&#8217;s stored<br />
      in the current directory.<br />
[...]</p>
<p>Also:<br />
alias e=unp</p>
<p>There.<br />
No ruby.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: steve123</title>
		<link>http://www.ubuntugeek.com/unp-unpack-almost-everything-with-one-command.html/comment-page-1#comment-14377</link>
		<dc:creator>steve123</dc:creator>
		<pubDate>Fri, 16 Oct 2009 06:08:28 +0000</pubDate>
		<guid isPermaLink="false">http://www.ubuntugeek.com/?p=2175#comment-14377</guid>
		<description>that only unrar&#039;s every file and is very long e is just a simple command ;)</description>
		<content:encoded><![CDATA[<p>that only unrar&#8217;s every file and is very long e is just a simple command <img src='http://www.ubuntugeek.com/wp-includes/images/smilies/icon_wink.gif' alt=';)' class='wp-smiley' /> </p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Matthew</title>
		<link>http://www.ubuntugeek.com/unp-unpack-almost-everything-with-one-command.html/comment-page-1#comment-14361</link>
		<dc:creator>Matthew</dc:creator>
		<pubDate>Thu, 15 Oct 2009 23:52:14 +0000</pubDate>
		<guid isPermaLink="false">http://www.ubuntugeek.com/?p=2175#comment-14361</guid>
		<description>Why not:

for f in *;do case &quot;$(echo $f&#124;sed &quot;s/.*\.\([a-z\.]*\)/\1/g&quot;)&quot; in zip)unzip -qqo $f&amp;&amp;rm $f;;tar.gz&#124;tar.bz2)tar xf $f&amp;&amp;rm $f;;tar.bz2)tar yxf $f&amp;&amp;rm $f;;rar)unrar e -o+ -r -y $f&amp;&amp;rm $f;;7z)7z e -qqo $f;;esac;done

?</description>
		<content:encoded><![CDATA[<p>Why not:</p>
<p>for f in *;do case &#8220;$(echo $f|sed &#8220;s/.*\.\([a-z\.]*\)/\1/g&#8221;)&#8221; in zip)unzip -qqo $f&amp;&amp;rm $f;;tar.gz|tar.bz2)tar xf $f&amp;&amp;rm $f;;tar.bz2)tar yxf $f&amp;&amp;rm $f;;rar)unrar e -o+ -r -y $f&amp;&amp;rm $f;;7z)7z e -qqo $f;;esac;done</p>
<p>?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: steve123</title>
		<link>http://www.ubuntugeek.com/unp-unpack-almost-everything-with-one-command.html/comment-page-1#comment-14330</link>
		<dc:creator>steve123</dc:creator>
		<pubDate>Thu, 15 Oct 2009 09:09:30 +0000</pubDate>
		<guid isPermaLink="false">http://www.ubuntugeek.com/?p=2175#comment-14330</guid>
		<description>unp is a package whereas e isn&#039;t it&#039;s just a script and yes you need to install ruby but it&#039;s still only 1 package you need to install and also e is easier to to remember and quicker to type

also for multiple file in a folder here is an example

e *

vs

unp *.*</description>
		<content:encoded><![CDATA[<p>unp is a package whereas e isn&#8217;t it&#8217;s just a script and yes you need to install ruby but it&#8217;s still only 1 package you need to install and also e is easier to to remember and quicker to type</p>
<p>also for multiple file in a folder here is an example</p>
<p>e *</p>
<p>vs</p>
<p>unp *.*</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Zap</title>
		<link>http://www.ubuntugeek.com/unp-unpack-almost-everything-with-one-command.html/comment-page-1#comment-14329</link>
		<dc:creator>Zap</dc:creator>
		<pubDate>Thu, 15 Oct 2009 08:56:08 +0000</pubDate>
		<guid isPermaLink="false">http://www.ubuntugeek.com/?p=2175#comment-14329</guid>
		<description>hm. seems to me that both tools are quite similar.
but with using &quot;e&quot; i have to install ruby.
why should i do this, when unp(perl based) works out of the box?</description>
		<content:encoded><![CDATA[<p>hm. seems to me that both tools are quite similar.<br />
but with using &#8220;e&#8221; i have to install ruby.<br />
why should i do this, when unp(perl based) works out of the box?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: steve123</title>
		<link>http://www.ubuntugeek.com/unp-unpack-almost-everything-with-one-command.html/comment-page-1#comment-14268</link>
		<dc:creator>steve123</dc:creator>
		<pubDate>Wed, 14 Oct 2009 00:53:36 +0000</pubDate>
		<guid isPermaLink="false">http://www.ubuntugeek.com/?p=2175#comment-14268</guid>
		<description>&quot;e&quot; is MUCH better then unp try it out:

http://fail2care.com/e-extract-any-archive</description>
		<content:encoded><![CDATA[<p>&#8220;e&#8221; is MUCH better then unp try it out:</p>
<p><a href="http://fail2care.com/e-extract-any-archive" rel="nofollow">http://fail2care.com/e-extract-any-archive</a></p>
]]></content:encoded>
	</item>
</channel>
</rss>

