<?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>beer planet &#187; gunzip</title>
	<atom:link href="http://beerpla.net/tag/gunzip/feed/" rel="self" type="application/rss+xml" />
	<link>http://beerpla.net</link>
	<description>where things have nothing to do with beer - tutorials, tips, how-tos, thoughts, hacks, and other techy nonsense</description>
	<lastBuildDate>Sun, 08 Aug 2010 23:59:10 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0.1</generator>
	<atom:link rel='hub' href='http://beerpla.net/?pushpress=hub'/>
		<item>
		<title>How To List Files Within tgz (tar.gz) Archives</title>
		<link>http://beerpla.net/2008/04/26/how-to-list-files-within-tgz-targz-archives/</link>
		<comments>http://beerpla.net/2008/04/26/how-to-list-files-within-tgz-targz-archives/#comments</comments>
		<pubDate>Sat, 26 Apr 2008 19:08:37 +0000</pubDate>
		<dc:creator>Artem Russakovskii</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[archive]]></category>
		<category><![CDATA[bzip]]></category>
		<category><![CDATA[file]]></category>
		<category><![CDATA[gunzip]]></category>
		<category><![CDATA[gz]]></category>
		<category><![CDATA[gzip]]></category>
		<category><![CDATA[list]]></category>
		<category><![CDATA[tar]]></category>
		<category><![CDATA[untar]]></category>
		<guid isPermaLink="false">http://beerpla.net/2008/04/26/how-to-list-files-within-tgz-targz-archives/</guid>
		<description><![CDATA[<p>This may not be very obvious but this is the command line to list files within a tar.gz archive on the fly:</p>
<div class="wp_syntax"><table><tr><td class="line_numbers"><pre>1
</pre></td><td class="code"><pre>tar -tzf file.tar.gz</pre></td></tr></table></div>
<p>-t: lists files<br />-f: instructs tar to deal with the following filename (file.tar.gz)<br />-z: informs tar that the it&#039;s dealing with a gzip file (-j if it&#039;s bzip2)</p>
<div class="shr-bookmarks shr-bookmarks-expand">
<ul class="socials">
		<li class="shr-twitter">
			<a href="http://twitter.com/home?status=How+To+List+Files+Within+tgz+%28tar.gz%29+Archives+-+http://bit.ly/aSubhm&#38;source=shareaholic" rel="nofollow" class="external" title="Tweet This!">Tweet This!</a>
		</li>
		<li class="shr-facebook">
			<a href="http://www.facebook.com/share.php?v=4&#38;src=bm&#38;u=http://beerpla.net/2008/04/26/how-to-list-files-within-tgz-targz-archives/&#38;t=How+To+List+Files+Within+tgz+%28tar.gz%29+Archives" rel="nofollow" class="external" title="Share this on Facebook">Share this on Facebook</a>
		</li>
		<li class="shr-googlebuzz">
			<a href="http://www.google.com/buzz/post?url=http://beerpla.net/2008/04/26/how-to-list-files-within-tgz-targz-archives/&#38;imageurl=" rel="nofollow" class="external" title="Post on Google Buzz">Post on Google Buzz</a>
		</li>
		<li class="shr-hackernews"></li></ul></div><p>...<div class=clear></div> <a href="http://beerpla.net/2008/04/26/how-to-list-files-within-tgz-targz-archives/" class="read_more"><div class=excerpt-end>Read the rest of this article &#187;</div></a></p>]]></description>
			<content:encoded><![CDATA[<p>This may not be very obvious but this is the command line to list files within a tar.gz archive on the fly:</p>
<div class="wp_syntax"><table><tr><td class="line_numbers"><pre>1
</pre></td><td class="code"><pre>tar -tzf file.tar.gz</pre></td></tr></table></div>
<p>-t: lists files<br />-f: instructs tar to deal with the following filename (file.tar.gz)<br />-z: informs tar that the it&#039;s dealing with a gzip file (-j if it&#039;s bzip2)</p>
<div class="shr-bookmarks shr-bookmarks-expand">
<ul class="socials">
		<li class="shr-twitter">
			<a href="http://twitter.com/home?status=How+To+List+Files+Within+tgz+%28tar.gz%29+Archives+-+http://bit.ly/aSubhm&amp;source=shareaholic" rel="nofollow" class="external" title="Tweet This!">Tweet This!</a>
		</li>
		<li class="shr-facebook">
			<a href="http://www.facebook.com/share.php?v=4&amp;src=bm&amp;u=http://beerpla.net/2008/04/26/how-to-list-files-within-tgz-targz-archives/&amp;t=How+To+List+Files+Within+tgz+%28tar.gz%29+Archives" rel="nofollow" class="external" title="Share this on Facebook">Share this on Facebook</a>
		</li>
		<li class="shr-googlebuzz">
			<a href="http://www.google.com/buzz/post?url=http://beerpla.net/2008/04/26/how-to-list-files-within-tgz-targz-archives/&amp;imageurl=" rel="nofollow" class="external" title="Post on Google Buzz">Post on Google Buzz</a>
		</li>
		<li class="shr-hackernews">
			<a href="http://news.ycombinator.com/submitlink?u=http://beerpla.net/2008/04/26/how-to-list-files-within-tgz-targz-archives/&amp;t=How+To+List+Files+Within+tgz+%28tar.gz%29+Archives" rel="nofollow" class="external" title="Submit this to Hacker News">Submit this to Hacker News</a>
		</li>
		<li class="shr-reddit">
			<a href="http://reddit.com/submit?url=http://beerpla.net/2008/04/26/how-to-list-files-within-tgz-targz-archives/&amp;title=How+To+List+Files+Within+tgz+%28tar.gz%29+Archives" rel="nofollow" class="external" title="Share this on Reddit">Share this on Reddit</a>
		</li>
		<li class="shr-digg">
			<a href="http://digg.com/submit?phase=2&amp;url=http://beerpla.net/2008/04/26/how-to-list-files-within-tgz-targz-archives/&amp;title=How+To+List+Files+Within+tgz+%28tar.gz%29+Archives" rel="nofollow" class="external" title="Digg this!">Digg this!</a>
		</li>
		<li class="shr-delicious">
			<a href="http://delicious.com/post?url=http://beerpla.net/2008/04/26/how-to-list-files-within-tgz-targz-archives/&amp;title=How+To+List+Files+Within+tgz+%28tar.gz%29+Archives" rel="nofollow" class="external" title="Share this on del.icio.us">Share this on del.icio.us</a>
		</li>
		<li class="shr-stumbleupon">
			<a href="http://www.stumbleupon.com/submit?url=http://beerpla.net/2008/04/26/how-to-list-files-within-tgz-targz-archives/&amp;title=How+To+List+Files+Within+tgz+%28tar.gz%29+Archives" rel="nofollow" class="external" title="Stumble upon something good? Share it on StumbleUpon">Stumble upon something good? Share it on StumbleUpon</a>
		</li>
		<li class="shr-mail">
			<a href="mailto:?subject=%22How%20To%20List%20Files%20Within%20tgz%20%28tar.gz%29%20Archives%22&amp;body=Link: http://beerpla.net/2008/04/26/how-to-list-files-within-tgz-targz-archives/ (sent via shareaholic)%0D%0A%0D%0A----%0D%0A This%20may%20not%20be%20very%20obvious%20but%20this%20is%20the%20command%20line%20to%20list%20files%20within%20a%20tar.gz%20archive%20on%20the%20fly%3Atar%20-tzf%20file.tar.gz%0A-t%3A%20lists%20files-f%3A%20instructs%20tar%20to%20deal%20with%20the%20following%20filename%20%28file.tar.gz%29-z%3A%20informs%20tar%20that%20the%20it%27s%20dealing%20with%20a%20gzip%20file%20%28-j%20if%20it%27s%20bzip2%29" rel="nofollow" class="external" title="Email this to a friend?">Email this to a friend?</a>
		</li>
</ul>
<div style="clear:both;"></div>
</div>
Similar Posts:<ul><li><a href="http://beerpla.net/2008/03/21/quick-snippet-finding-if-a-file-has-a-media-extension-using-regex/" rel="bookmark" title="March 21, 2008">Quick Perl Snippet: Finding If A File Has A Media Extension Using Regex</a></li>
<li><a href="http://beerpla.net/2008/04/09/some-useful-vim-commands-my-vim-cheatsheet/" rel="bookmark" title="April 9, 2008">Some Useful vim Commands &#8211; My vim Cheatsheet</a></li>
<li><a href="http://beerpla.net/2008/12/22/mastering-the-linux-shell-bash-shortcuts-explained/" rel="bookmark" title="December 22, 2008">Mastering The Linux Shell &#8211; Bash Shortcuts Explained (Now With Cheat Sheets)</a></li>
<li><a href="http://beerpla.net/2008/01/05/what-a-woman-says-what-she-really-means-what-a-man-says-what-he-really-means/" rel="bookmark" title="January 5, 2008">What A Woman Says, What She Really Means&#8230;   What A Man Says, What He Really Means…</a></li>
<li><a href="http://beerpla.net/2010/03/06/how-to-show-hiddeninvisible-files-in-total-commander-both-locally-and-on-an-ftp-server/" rel="bookmark" title="March 6, 2010">How To Show Hidden/Invisible Files In Total Commander, Both Locally And On An FTP Server</a></li>
</ul><!-- Similar Posts took 11.626 ms --><p><a class="a2a_dd addtoany_share_save" href="http://www.addtoany.com/share_save"><img src="http://beerpla.net/wp-content/plugins/add-to-any/share_save_171_16.png" width="171" height="16" alt="Share/Bookmark"/></a> </p>]]></content:encoded>
			<wfw:commentRss>http://beerpla.net/2008/04/26/how-to-list-files-within-tgz-targz-archives/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
	</channel>
</rss>
