<?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>PatternExon &#187; tips</title>
	<atom:link href="http://www.patternexon.com/category/tips/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.patternexon.com</link>
	<description>is an anagram of Not An Expert</description>
	<lastBuildDate>Mon, 24 May 2010 03:36:33 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.8.3</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>Download folder with all of its subfolders using FTP</title>
		<link>http://www.patternexon.com/download-folder-with-all-of-its-subfolders-using-ftp/</link>
		<comments>http://www.patternexon.com/download-folder-with-all-of-its-subfolders-using-ftp/#comments</comments>
		<pubDate>Thu, 02 Jul 2009 15:24:18 +0000</pubDate>
		<dc:creator>akshat</dc:creator>
				<category><![CDATA[tips]]></category>

		<guid isPermaLink="false">http://www.patternexon.com/?p=181</guid>
		<description><![CDATA[Connect to the host.
[promt] ftp &#60;hostname&#62;
Set mode to binary
ftp&#62; binary 
cd to the directory to be download
ftp&#62; cd /folder/to/download/ 
Get rid of comfirming every transfer
ftp&#62; prompt
Download folder and its subfolder
mget *
]]></description>
			<content:encoded><![CDATA[<p>Connect to the host.</p>
<p><code>[promt] ftp &lt;hostname&gt;</code></p>
<p>Set mode to binary<br />
<code>ftp&gt; binary </code></p>
<p>cd to the directory to be download<br />
<code>ftp&gt; cd /folder/to/download/ </code></p>
<p>Get rid of comfirming every transfer<br />
<code>ftp&gt; prompt</code></p>
<p>Download folder and its subfolder<br />
<code>mget *</code></p>
]]></content:encoded>
			<wfw:commentRss>http://www.patternexon.com/download-folder-with-all-of-its-subfolders-using-ftp/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Compress a specfic folder using tar</title>
		<link>http://www.patternexon.com/compress-a-specfic-folder-using-tar/</link>
		<comments>http://www.patternexon.com/compress-a-specfic-folder-using-tar/#comments</comments>
		<pubDate>Wed, 24 Jun 2009 15:19:54 +0000</pubDate>
		<dc:creator>akshat</dc:creator>
				<category><![CDATA[tips]]></category>

		<guid isPermaLink="false">http://www.patternexon.com/?p=179</guid>
		<description><![CDATA[Generally a folder is compressed by
tar -czvf archivename.tgz /path/to/folder/
The problem is that when archivename.tgz is untarred the folder structure would be
path &#62; to &#62; folder
For the archivename.tgz  to have just the folder and all of its contents, use the -C (change directory) option
tar -C /path/to -czvf archivename.tgz folder/
]]></description>
			<content:encoded><![CDATA[<p>Generally a folder is compressed by</p>
<p><code>tar -czvf archivename.tgz /path/to/folder/</code></p>
<p>The problem is that when archivename.tgz is untarred the folder structure would be</p>
<p><code>path &gt; to &gt; folder</code></p>
<p>For the archivename.tgz  to have just the <code>folder</code> and all of its contents, use the -C (change directory) option</p>
<p><code>tar -C /path/to -czvf archivename.tgz folder/</code></p>
]]></content:encoded>
			<wfw:commentRss>http://www.patternexon.com/compress-a-specfic-folder-using-tar/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
