<?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: Tar and compress a file in one step</title>
	<atom:link href="http://www.tech-recipes.com/rx/64/tar-and-compress-a-file-in-one-step/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.tech-recipes.com/rx/64/tar-and-compress-a-file-in-one-step/</link>
	<description>Computer and technology tutorials and guides</description>
	<lastBuildDate>Thu, 09 Feb 2012 21:01:25 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.2</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: Anonymous</title>
		<link>http://www.tech-recipes.com/rx/64/tar-and-compress-a-file-in-one-step/comment-page-1/#comment-38831</link>
		<dc:creator>Anonymous</dc:creator>
		<pubDate>Thu, 29 Apr 2010 12:12:00 +0000</pubDate>
		<guid isPermaLink="false">guid-fix-me!#comment-38831</guid>
		<description>To Compress !
tar cjf   /dir1 file1 /dir2 .... /dirN  /fileN   =&gt; For Bunzip 
 
tar czf   /dir1 file1 /dir2 .... /dirN  /fileN   =&gt; For Gunzip 

You can always use 
&quot;man tar&quot; when you need help !

To Extract/uncompress , replace the &quot;c&quot; with &quot;x&quot; in the above commands !
Thanks ,
Danny</description>
		<content:encoded><![CDATA[<p>To Compress !<br />
tar cjf   /dir1 file1 /dir2 &#8230;. /dirN  /fileN   =&gt; For Bunzip </p>
<p>tar czf   /dir1 file1 /dir2 &#8230;. /dirN  /fileN   =&gt; For Gunzip </p>
<p>You can always use<br />
&#8220;man tar&#8221; when you need help !</p>
<p>To Extract/uncompress , replace the &#8220;c&#8221; with &#8220;x&#8221; in the above commands !<br />
Thanks ,<br />
Danny</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: GlobalNerds</title>
		<link>http://www.tech-recipes.com/rx/64/tar-and-compress-a-file-in-one-step/comment-page-1/#comment-37497</link>
		<dc:creator>GlobalNerds</dc:creator>
		<pubDate>Sun, 14 Feb 2010 19:27:00 +0000</pubDate>
		<guid isPermaLink="false">guid-fix-me!#comment-37497</guid>
		<description>How do you uncompress this in one step?</description>
		<content:encoded><![CDATA[<p>How do you uncompress this in one step?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Vinayak Kamath</title>
		<link>http://www.tech-recipes.com/rx/64/tar-and-compress-a-file-in-one-step/comment-page-1/#comment-35450</link>
		<dc:creator>Vinayak Kamath</dc:creator>
		<pubDate>Wed, 04 Nov 2009 05:21:00 +0000</pubDate>
		<guid isPermaLink="false">guid-fix-me!#comment-35450</guid>
		<description>You can use gtar instead

gtar -cvzf target output.tgz</description>
		<content:encoded><![CDATA[<p>You can use gtar instead</p>
<p>gtar -cvzf target output.tgz</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Anonymous</title>
		<link>http://www.tech-recipes.com/rx/64/tar-and-compress-a-file-in-one-step/comment-page-1/#comment-32675</link>
		<dc:creator>Anonymous</dc:creator>
		<pubDate>Mon, 17 Aug 2009 22:20:00 +0000</pubDate>
		<guid isPermaLink="false">guid-fix-me!#comment-32675</guid>
		<description>Or &#039;tar zcf target.tgz&#039;  Most tar versions have had built in gzip function for over a decade at least.  Over ssh it would be ssh blah@blah &#039;tar zcf -&#039; &gt; target.tgz</description>
		<content:encoded><![CDATA[<p>Or &#8216;tar zcf target.tgz&#8217;  Most tar versions have had built in gzip function for over a decade at least.  Over ssh it would be ssh blah@blah &#8216;tar zcf -&#8217; &gt; target.tgz</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Quinn McHenry</title>
		<link>http://www.tech-recipes.com/rx/64/tar-and-compress-a-file-in-one-step/comment-page-1/#comment-28616</link>
		<dc:creator>Quinn McHenry</dc:creator>
		<pubDate>Wed, 11 Mar 2009 21:11:00 +0000</pubDate>
		<guid isPermaLink="false">guid-fix-me!#comment-28616</guid>
		<description>it would be:

tar -cf - /home/eaips/var/fileName &#124; gzip -c &gt; /home/eaips/var/fileName.tar.gz</description>
		<content:encoded><![CDATA[<p>it would be:</p>
<p>tar -cf &#8211; /home/eaips/var/fileName | gzip -c &gt; /home/eaips/var/fileName.tar.gz</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Satish</title>
		<link>http://www.tech-recipes.com/rx/64/tar-and-compress-a-file-in-one-step/comment-page-1/#comment-28610</link>
		<dc:creator>Satish</dc:creator>
		<pubDate>Wed, 11 Mar 2009 18:40:00 +0000</pubDate>
		<guid isPermaLink="false">guid-fix-me!#comment-28610</guid>
		<description>I have following two steps in my script, how club them and do it in a single step ?

tar  -cf  /home/eaips/var/fileName.tar  /home/eaips/var/fileName
gzip /home/eaips/var/fileName.tar</description>
		<content:encoded><![CDATA[<p>I have following two steps in my script, how club them and do it in a single step ?</p>
<p>tar  -cf  /home/eaips/var/fileName.tar  /home/eaips/var/fileName<br />
gzip /home/eaips/var/fileName.tar</p>
]]></content:encoded>
	</item>
</channel>
</rss>

<!-- Performance optimized by W3 Total Cache. Learn more: http://www.w3-edge.com/wordpress-plugins/

Page Caching using memcached (User agent is rejected)
Database Caching 2/13 queries in 0.765 seconds using memcached
Object Caching 348/355 objects using memcached

Served from: www.tech-recipes.com @ 2012-02-10 03:18:46 -->
