<?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: How To List Files Within tgz (tar.gz) Archives</title> <atom:link href="http://beerpla.net/2008/04/26/how-to-list-files-within-tgz-targz-archives/feed/" rel="self" type="application/rss+xml" /><link>http://beerpla.net/2008/04/26/how-to-list-files-within-tgz-targz-archives/</link> <description>where things have nothing to do with beer - tutorials, tips, how-tos, thoughts, hacks, and other techy nonsense</description> <lastBuildDate>Sat, 19 May 2012 21:39:38 +0000</lastBuildDate> <sy:updatePeriod>hourly</sy:updatePeriod> <sy:updateFrequency>1</sy:updateFrequency> <generator>http://wordpress.org/?v=3.3.2</generator> <item><title>By: Carl W.</title><link>http://beerpla.net/2008/04/26/how-to-list-files-within-tgz-targz-archives/#comment-52253</link> <dc:creator>Carl W.</dc:creator> <pubDate>Mon, 28 Nov 2011 21:17:53 +0000</pubDate> <guid
isPermaLink="false">http://beerpla.net/2008/04/26/how-to-list-files-within-tgz-targz-archives/#comment-52253</guid> <description>Very helpful, thank you!</description> <content:encoded><![CDATA[<p>Very helpful, thank you!</p> ]]></content:encoded> </item> <item><title>By: Artem Russakovskii</title><link>http://beerpla.net/2008/04/26/how-to-list-files-within-tgz-targz-archives/#comment-51120</link> <dc:creator>Artem Russakovskii</dc:creator> <pubDate>Tue, 09 Nov 2010 22:42:50 +0000</pubDate> <guid
isPermaLink="false">http://beerpla.net/2008/04/26/how-to-list-files-within-tgz-targz-archives/#comment-51120</guid> <description>No, that won&#039;t work - look up the usage of &#039;tee&#039;</description> <content:encoded><![CDATA[<p>No, that won&#039;t work &#8211; look up the usage of &#039;tee&#039;</p> ]]></content:encoded> </item> <item><title>By: clive</title><link>http://beerpla.net/2008/04/26/how-to-list-files-within-tgz-targz-archives/#comment-51119</link> <dc:creator>clive</dc:creator> <pubDate>Tue, 09 Nov 2010 22:15:01 +0000</pubDate> <guid
isPermaLink="false">http://beerpla.net/2008/04/26/how-to-list-files-within-tgz-targz-archives/#comment-51119</guid> <description>The code you supplied worked, thanks. If I wanted the text to appear in the terminal window as well as being piped to a text file should I add a verbose flag to the tar command? For example;
find . -name &quot;*.tgz&quot; -exec tar tzvf {} \; &gt; list.txt</description> <content:encoded><![CDATA[<p>The code you supplied worked, thanks. If I wanted the text to appear in the terminal window as well as being piped to a text file should I add a verbose flag to the tar command? For example;<br
/> find . -name &#034;*.tgz&#034; -exec tar tzvf {} \; &gt; list.txt</p> ]]></content:encoded> </item> <item><title>By: clive</title><link>http://beerpla.net/2008/04/26/how-to-list-files-within-tgz-targz-archives/#comment-51109</link> <dc:creator>clive</dc:creator> <pubDate>Sat, 06 Nov 2010 07:56:15 +0000</pubDate> <guid
isPermaLink="false">http://beerpla.net/2008/04/26/how-to-list-files-within-tgz-targz-archives/#comment-51109</guid> <description>Artem Russakovskii says:
November 5, 2010 at 10:05 am
This is how I would do it:
find . -name &quot;*.tgz&quot; -exec tar tzf {} \; &gt; list.txt
Thanks Artem, I&#039;ll give it a go and them try to understand the code layout.</description> <content:encoded><![CDATA[<p>Artem Russakovskii says:<br
/> November 5, 2010 at 10:05 am</p><p>This is how I would do it:</p><p>find . -name &#034;*.tgz&#034; -exec tar tzf {} \; &gt; list.txt</p><p>Thanks Artem, I&#039;ll give it a go and them try to understand the code layout.</p> ]]></content:encoded> </item> <item><title>By: Artem Russakovskii</title><link>http://beerpla.net/2008/04/26/how-to-list-files-within-tgz-targz-archives/#comment-51107</link> <dc:creator>Artem Russakovskii</dc:creator> <pubDate>Fri, 05 Nov 2010 18:05:07 +0000</pubDate> <guid
isPermaLink="false">http://beerpla.net/2008/04/26/how-to-list-files-within-tgz-targz-archives/#comment-51107</guid> <description>This is how I would do it:
&lt;pre line=&quot;0&quot;&gt;
find . -name &quot;*.tgz&quot; -exec tar tzf {} \; &gt; list.txt
&lt;/pre&gt;
Just tried it and it works fine (adjust it for your own extention - I used tgz).</description> <content:encoded><![CDATA[<p>This is how I would do it:</p><div
class="wp_syntax"><div
class="code"><pre>find . -name &quot;*.tgz&quot; -exec tar tzf {} \; &gt; list.txt</pre></div></div><p>Just tried it and it works fine (adjust it for your own extention &#8211; I used tgz).</p> ]]></content:encoded> </item> <item><title>By: clive</title><link>http://beerpla.net/2008/04/26/how-to-list-files-within-tgz-targz-archives/#comment-51106</link> <dc:creator>clive</dc:creator> <pubDate>Fri, 05 Nov 2010 17:55:13 +0000</pubDate> <guid
isPermaLink="false">http://beerpla.net/2008/04/26/how-to-list-files-within-tgz-targz-archives/#comment-51106</guid> <description>How can I list the contents of multiple archives within a folder? Have tried;
for i in *; do if [ -d &quot;$i&quot; ]; then tar tzvf &quot;$i&quot;.tar.gz &quot;$i&quot; &gt;&gt; tar.gz-list.txt; fi; done
but this does not work.
Any suggestions?</description> <content:encoded><![CDATA[<p>How can I list the contents of multiple archives within a folder? Have tried;<br
/> for i in *; do if [ -d "$i" ]; then tar tzvf &#034;$i&#034;.tar.gz &#034;$i&#034; &gt;&gt; tar.gz-list.txt; fi; done<br
/> but this does not work.<br
/> Any suggestions?</p> ]]></content:encoded> </item> <item><title>By: sunny</title><link>http://beerpla.net/2008/04/26/how-to-list-files-within-tgz-targz-archives/#comment-26718</link> <dc:creator>sunny</dc:creator> <pubDate>Sat, 07 Nov 2009 08:34:53 +0000</pubDate> <guid
isPermaLink="false">http://beerpla.net/2008/04/26/how-to-list-files-within-tgz-targz-archives/#comment-26718</guid> <description>thanks !!!!</description> <content:encoded><![CDATA[<p>thanks !!!!</p> ]]></content:encoded> </item> </channel> </rss>
