<?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>Od3n (dot) Info &#187; rsync</title>
	<atom:link href="http://od3n.info/tag/rsync/feed/" rel="self" type="application/rss+xml" />
	<link>http://od3n.info</link>
	<description>Computer, Technology and Internet</description>
	<lastBuildDate>Wed, 29 Apr 2009 11:27:21 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0</generator>
		<item>
		<title>Rsync Simplified</title>
		<link>http://od3n.info/unix/rsync-simplified/</link>
		<comments>http://od3n.info/unix/rsync-simplified/#comments</comments>
		<pubDate>Fri, 18 Jan 2008 07:37:32 +0000</pubDate>
		<dc:creator>od3n</dc:creator>
				<category><![CDATA[Unix]]></category>
		<category><![CDATA[rsync]]></category>

		<guid isPermaLink="false">http://www.od3n.net/en/rsync-simplified/</guid>
		<description><![CDATA[rsync is a super-useful tool. All unixes have it, and you can get it as part of cygwin for your windows PC. The most common use I have for it is to replicate a directory – either from one machine &#8230; <a href="http://od3n.info/unix/rsync-simplified/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p><em>rsync</em> is a super-useful tool. All unixes have it, and you can get it as part of cygwin for your windows PC. The most common use I have for it is to replicate a directory – either from one machine to another or from a HDD to some removeable storage.</p>
<p>Unfortunately, it’s a big and complicated application. The manual page begins “There are eight different ways of using rsync. They are: …” and continues to describe each in excruciating detail. So, here’s the ultra-simplified version :<span id="more-52"></span></p>
<p>[sourcecode language='html']rsync -av &#8211;exclude &#8216;*.dump&#8217; &#8211;exclude &#8216;temp&#8217; user@host:/from-directory/ /to-directory[/sourcecode]</p>
<p>which means ‘copy everything from {/from-directory} on {host} (logging in as {user} ) to {/to-directory} on this machine. Except anything called “temp” or anything ending in “.dump”.</p>
<p>You can have as many —excludes as you like, though if there’s lots of them you can specify a file of them instead. This will copy symlinks over as-is, which may or may not be what you want. Presumably there’s a way to not do that. If you’re doing a local-&gt;local copy, just drop the “user@host:</p>
]]></content:encoded>
			<wfw:commentRss>http://od3n.info/unix/rsync-simplified/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
