<?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/"
	xmlns:georss="http://www.georss.org/georss" xmlns:geo="http://www.w3.org/2003/01/geo/wgs84_pos#" xmlns:media="http://search.yahoo.com/mrss/"
		>
<channel>
	<title>Comments on: Skimming subfolders for files to copy</title>
	<atom:link href="http://kmandla.wordpress.com/2011/03/21/skimming-subfolders-for-files-to-copy/feed/" rel="self" type="application/rss+xml" />
	<link>http://kmandla.wordpress.com/2011/03/21/skimming-subfolders-for-files-to-copy/</link>
	<description>K.Mandla's blog of Linux experiences</description>
	<lastBuildDate>Mon, 11 Feb 2013 18:19:59 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.com/</generator>
	<item>
		<title>By: Kevin</title>
		<link>http://kmandla.wordpress.com/2011/03/21/skimming-subfolders-for-files-to-copy/#comment-48633</link>
		<dc:creator><![CDATA[Kevin]]></dc:creator>
		<pubDate>Tue, 22 Mar 2011 21:51:31 +0000</pubDate>
		<guid isPermaLink="false">http://kmandla.wordpress.com/2011/03/21/skimming-subfolders-for-files-to-copy/#comment-48633</guid>
		<description><![CDATA[Actually, &quot;*.*&quot; and &quot;*&quot; are different. &quot;*.*&quot; only matches files with a dot in the name. And, if you are going to do -name &quot;*&quot;, you may as well leave the -name predicate out all together:

find /pathtoinputdir -type f -exec cp -urvp {} \;]]></description>
		<content:encoded><![CDATA[<p>Actually, &#8220;*.*&#8221; and &#8220;*&#8221; are different. &#8220;*.*&#8221; only matches files with a dot in the name. And, if you are going to do -name &#8220;*&#8221;, you may as well leave the -name predicate out all together:</p>
<p>find /pathtoinputdir -type f -exec cp -urvp {} \;</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Gabe</title>
		<link>http://kmandla.wordpress.com/2011/03/21/skimming-subfolders-for-files-to-copy/#comment-48632</link>
		<dc:creator><![CDATA[Gabe]]></dc:creator>
		<pubDate>Tue, 22 Mar 2011 18:35:09 +0000</pubDate>
		<guid isPermaLink="false">http://kmandla.wordpress.com/2011/03/21/skimming-subfolders-for-files-to-copy/#comment-48632</guid>
		<description><![CDATA[Also &quot;*.*&quot; is unnecessary (reminds me of DOS syntax), &quot;*&quot; will do.]]></description>
		<content:encoded><![CDATA[<p>Also &#8220;*.*&#8221; is unnecessary (reminds me of DOS syntax), &#8220;*&#8221; will do.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: IsaacG</title>
		<link>http://kmandla.wordpress.com/2011/03/21/skimming-subfolders-for-files-to-copy/#comment-48626</link>
		<dc:creator><![CDATA[IsaacG]]></dc:creator>
		<pubDate>Mon, 21 Mar 2011 15:02:14 +0000</pubDate>
		<guid isPermaLink="false">http://kmandla.wordpress.com/2011/03/21/skimming-subfolders-for-files-to-copy/#comment-48626</guid>
		<description><![CDATA[Two more comments on the find syntax:
 - The {} don&#039;t need quoting
 - With GNU find you can replace the \; with + to pass many filenames to one cp command opposed to fork()ing a cp for each file]]></description>
		<content:encoded><![CDATA[<p>Two more comments on the find syntax:<br />
 &#8211; The {} don&#8217;t need quoting<br />
 &#8211; With GNU find you can replace the \; with + to pass many filenames to one cp command opposed to fork()ing a cp for each file</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Jose Catre-Vandis</title>
		<link>http://kmandla.wordpress.com/2011/03/21/skimming-subfolders-for-files-to-copy/#comment-48625</link>
		<dc:creator><![CDATA[Jose Catre-Vandis]]></dc:creator>
		<pubDate>Mon, 21 Mar 2011 14:49:10 +0000</pubDate>
		<guid isPermaLink="false">http://kmandla.wordpress.com/2011/03/21/skimming-subfolders-for-files-to-copy/#comment-48625</guid>
		<description><![CDATA[I use a similar command:

&lt;code&gt;find /pathtoinputdir/ -name “*.*” -type f -exec cp -urvp ‘{}’ /pathtooutputdir \;&lt;/code&gt;]]></description>
		<content:encoded><![CDATA[<p>I use a similar command:</p>
<p><code>find /pathtoinputdir/ -name “*.*” -type f -exec cp -urvp ‘{}’ /pathtooutputdir \;</code></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: IsaacG</title>
		<link>http://kmandla.wordpress.com/2011/03/21/skimming-subfolders-for-files-to-copy/#comment-48623</link>
		<dc:creator><![CDATA[IsaacG]]></dc:creator>
		<pubDate>Mon, 21 Mar 2011 14:16:28 +0000</pubDate>
		<guid isPermaLink="false">http://kmandla.wordpress.com/2011/03/21/skimming-subfolders-for-files-to-copy/#comment-48623</guid>
		<description><![CDATA[For the ** to work in bash, you first need: shopt -s globstar]]></description>
		<content:encoded><![CDATA[<p>For the ** to work in bash, you first need: shopt -s globstar</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Cosay Nold</title>
		<link>http://kmandla.wordpress.com/2011/03/21/skimming-subfolders-for-files-to-copy/#comment-48622</link>
		<dc:creator><![CDATA[Cosay Nold]]></dc:creator>
		<pubDate>Mon, 21 Mar 2011 13:55:56 +0000</pubDate>
		<guid isPermaLink="false">http://kmandla.wordpress.com/2011/03/21/skimming-subfolders-for-files-to-copy/#comment-48622</guid>
		<description><![CDATA[For some reason, I have never found the Find command particularly easy to learn, and I&#039;ve used the GNU and BSD versions of the command. It&#039;s probably because I need the command so infrequently.]]></description>
		<content:encoded><![CDATA[<p>For some reason, I have never found the Find command particularly easy to learn, and I&#8217;ve used the GNU and BSD versions of the command. It&#8217;s probably because I need the command so infrequently.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: wolfo</title>
		<link>http://kmandla.wordpress.com/2011/03/21/skimming-subfolders-for-files-to-copy/#comment-48621</link>
		<dc:creator><![CDATA[wolfo]]></dc:creator>
		<pubDate>Mon, 21 Mar 2011 12:39:16 +0000</pubDate>
		<guid isPermaLink="false">http://kmandla.wordpress.com/2011/03/21/skimming-subfolders-for-files-to-copy/#comment-48621</guid>
		<description><![CDATA[My approach would have been just &#039;cp -Rv /media/**/*jpg /destination&#039;.
/media/*jpg only substitutes files that are directly inside /media. I use zsh, but it worked with bash too.

On the other note, I should try to learn more about &#039;find&#039;. So far, it rarely behaved the way I anticipated =)]]></description>
		<content:encoded><![CDATA[<p>My approach would have been just &#8216;cp -Rv /media/**/*jpg /destination&#8217;.<br />
/media/*jpg only substitutes files that are directly inside /media. I use zsh, but it worked with bash too.</p>
<p>On the other note, I should try to learn more about &#8216;find&#8217;. So far, it rarely behaved the way I anticipated =)</p>
]]></content:encoded>
	</item>
</channel>
</rss>
