<?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>High Fibre Programming &#187; copying</title>
	<atom:link href="http://www.4pmp.com/tag/copying/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.4pmp.com</link>
	<description>PHP, MySQL, C, Java, Linux and other great after dinner speech topics</description>
	<lastBuildDate>Tue, 17 Jan 2012 09:10:14 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0.5</generator>
		<item>
		<title>rsync &#8211; non recursive copying</title>
		<link>http://www.4pmp.com/2009/08/rsync-non-recursive-copying/</link>
		<comments>http://www.4pmp.com/2009/08/rsync-non-recursive-copying/#comments</comments>
		<pubDate>Tue, 11 Aug 2009 20:41:24 +0000</pubDate>
		<dc:creator>Nick</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[copying]]></category>
		<category><![CDATA[non-recursive]]></category>
		<category><![CDATA[recursive]]></category>
		<category><![CDATA[rsync]]></category>

		<guid isPermaLink="false">http://blog.4pmp.com/?p=28</guid>
		<description><![CDATA[I was looking for a way to get rsync to copy all the files in a particular directory and not recurse into the sub-directories.   Unfortunately I couldn&#8217;t find an appropriate parameter and a quick search on Google turned up nothing (apart from a lot of other people asking the same question!) So as a last [...]]]></description>
			<content:encoded><![CDATA[<p>I was looking for a way to get rsync to copy all the files in a particular directory and not recurse into the sub-directories.   Unfortunately I couldn&#8217;t find an appropriate parameter and a quick search on Google turned up nothing (apart from a lot of other people asking the same question!)</p>
<p>So as a last resort I decided to use my brain, and I came up with a simple solution that works.   It&#8217;s of the form:</p>
<p><code>rsync -avc --exclude "*/" ./source/* ./destination/<br />
</code></p>
<p>The above will copy all the files from the directory called &#8220;source&#8221; into the directory &#8220;destination&#8221; and will not recurse into any subdirectories of &#8220;source&#8221;.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.4pmp.com/2009/08/rsync-non-recursive-copying/feed/</wfw:commentRss>
		<slash:comments>4</slash:comments>
		</item>
	</channel>
</rss>

