<?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: Mommy, I found it! &#8212; 15 Practical Linux Find Command Examples</title>
	<atom:link href="http://www.thegeekstuff.com/2009/03/15-practical-linux-find-command-examples/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.thegeekstuff.com/2009/03/15-practical-linux-find-command-examples/</link>
	<description>Guides, HowTos and Tips for Technology Geeks</description>
	<lastBuildDate>Thu, 09 Feb 2012 11:52:28 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.2.1</generator>
	<item>
		<title>By: Dan</title>
		<link>http://www.thegeekstuff.com/2009/03/15-practical-linux-find-command-examples/comment-page-1/#comment-188474</link>
		<dc:creator>Dan</dc:creator>
		<pubDate>Tue, 31 Jan 2012 15:50:22 +0000</pubDate>
		<guid isPermaLink="false">http://www.thegeekstuff.com/?p=412#comment-188474</guid>
		<description>I just came across a few articles on thegeekstuff.com, this being one of them. All I can say is, with writing like this there is hope that &quot;normal people&quot; will learn Linux. I&#039;ve been in the industry for 7 years now (programming degree, etc) and this is some of the best, if not THE best written Linux quickref doco I&#039;ve seen. Normal geeks (like me, as opposed to command line junkies) don&#039;t read man pages because they&#039;re written like scientific notation and contain virtually no examples. And if they do contain examples, they&#039;re for rare cases that I virtually never use. This stuff is written well, to the point without lots of unnecessary verbiage, and has examples I can actually use. Great work guys!</description>
		<content:encoded><![CDATA[<p>I just came across a few articles on thegeekstuff.com, this being one of them. All I can say is, with writing like this there is hope that &#8220;normal people&#8221; will learn Linux. I&#8217;ve been in the industry for 7 years now (programming degree, etc) and this is some of the best, if not THE best written Linux quickref doco I&#8217;ve seen. Normal geeks (like me, as opposed to command line junkies) don&#8217;t read man pages because they&#8217;re written like scientific notation and contain virtually no examples. And if they do contain examples, they&#8217;re for rare cases that I virtually never use. This stuff is written well, to the point without lots of unnecessary verbiage, and has examples I can actually use. Great work guys!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Roberto</title>
		<link>http://www.thegeekstuff.com/2009/03/15-practical-linux-find-command-examples/comment-page-1/#comment-185482</link>
		<dc:creator>Roberto</dc:creator>
		<pubDate>Fri, 27 Jan 2012 10:06:50 +0000</pubDate>
		<guid isPermaLink="false">http://www.thegeekstuff.com/?p=412#comment-185482</guid>
		<description>Hello Ramesh! Many thanks for all this useful information. Im currently preparing to take my LPI-C 1 exam and while looking for more info in regard find command I found this web site. However, Im still have one initial question unaswered, what is the {} \; for?
{} is replaced by the current file name.( I got this)
then you have that backslash there and and semi-colon. I guessed this is related to the shell environment. Any chance that you or other internauts of this web site could explain a little bit further?
Kind Regards</description>
		<content:encoded><![CDATA[<p>Hello Ramesh! Many thanks for all this useful information. Im currently preparing to take my LPI-C 1 exam and while looking for more info in regard find command I found this web site. However, Im still have one initial question unaswered, what is the {} \; for?<br />
{} is replaced by the current file name.( I got this)<br />
then you have that backslash there and and semi-colon. I guessed this is related to the shell environment. Any chance that you or other internauts of this web site could explain a little bit further?<br />
Kind Regards</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: debasis</title>
		<link>http://www.thegeekstuff.com/2009/03/15-practical-linux-find-command-examples/comment-page-1/#comment-139739</link>
		<dc:creator>debasis</dc:creator>
		<pubDate>Sun, 13 Nov 2011 09:39:32 +0000</pubDate>
		<guid isPermaLink="false">http://www.thegeekstuff.com/?p=412#comment-139739</guid>
		<description>can anyone please tell me
the use of &quot;prune&quot; in linux.
please explain it with example.

thanx alot</description>
		<content:encoded><![CDATA[<p>can anyone please tell me<br />
the use of &#8220;prune&#8221; in linux.<br />
please explain it with example.</p>
<p>thanx alot</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Vimal Roy</title>
		<link>http://www.thegeekstuff.com/2009/03/15-practical-linux-find-command-examples/comment-page-1/#comment-131923</link>
		<dc:creator>Vimal Roy</dc:creator>
		<pubDate>Thu, 13 Oct 2011 09:21:31 +0000</pubDate>
		<guid isPermaLink="false">http://www.thegeekstuff.com/?p=412#comment-131923</guid>
		<description>great cmds and example. thank u very much. need more......</description>
		<content:encoded><![CDATA[<p>great cmds and example. thank u very much. need more&#8230;&#8230;</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: shubham</title>
		<link>http://www.thegeekstuff.com/2009/03/15-practical-linux-find-command-examples/comment-page-1/#comment-117414</link>
		<dc:creator>shubham</dc:creator>
		<pubDate>Wed, 13 Jul 2011 09:24:05 +0000</pubDate>
		<guid isPermaLink="false">http://www.thegeekstuff.com/?p=412#comment-117414</guid>
		<description>Wonderful!!</description>
		<content:encoded><![CDATA[<p>Wonderful!!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Peng</title>
		<link>http://www.thegeekstuff.com/2009/03/15-practical-linux-find-command-examples/comment-page-1/#comment-116874</link>
		<dc:creator>Peng</dc:creator>
		<pubDate>Sun, 10 Jul 2011 04:22:42 +0000</pubDate>
		<guid isPermaLink="false">http://www.thegeekstuff.com/?p=412#comment-116874</guid>
		<description>hi ionh,

step 1, find all .txt files in the current directory and all of its subdirectories
$ find . -type f -name &quot;*.txt&quot; 
step 2, pipe the result to grep, find those files containing &#039;blob&#039;
$ find . -type f -name &quot;*.txt&quot; &#124; grep &#039;blob&#039;
step 3, add &#039;-v&#039; (invert-match), find those files not containing &#039;blob&#039;
$ find . -type f -name &quot;*.txt&quot; &#124; grep -v &#039;blob&#039;
step 4, pipe the file list to xargs, which breaks the list into sublists and deal with each one of them, note here we have to use &#039;--target-directory&#039; to clarify our intention. 
$ find . -type f -name &quot;*.txt&quot; &#124; grep -v &#039;blob&#039;&#124; xargs cp --target-directory=newDir

now you got all the files you want in the newDir.  Mission completed! hope this helps.

Peng

note the &#039;--target-directory&#039; above has 2 hyphen-minuses, instead of a dash, this website made it barely recognizable. you&#039;ll know what i am talking about if you &#039;cp --help&#039;.</description>
		<content:encoded><![CDATA[<p>hi ionh,</p>
<p>step 1, find all .txt files in the current directory and all of its subdirectories<br />
$ find . -type f -name &#8220;*.txt&#8221;<br />
step 2, pipe the result to grep, find those files containing &#8216;blob&#8217;<br />
$ find . -type f -name &#8220;*.txt&#8221; | grep &#8216;blob&#8217;<br />
step 3, add &#8216;-v&#8217; (invert-match), find those files not containing &#8216;blob&#8217;<br />
$ find . -type f -name &#8220;*.txt&#8221; | grep -v &#8216;blob&#8217;<br />
step 4, pipe the file list to xargs, which breaks the list into sublists and deal with each one of them, note here we have to use &#8216;&#8211;target-directory&#8217; to clarify our intention.<br />
$ find . -type f -name &#8220;*.txt&#8221; | grep -v &#8216;blob&#8217;| xargs cp &#8211;target-directory=newDir</p>
<p>now you got all the files you want in the newDir.  Mission completed! hope this helps.</p>
<p>Peng</p>
<p>note the &#8216;&#8211;target-directory&#8217; above has 2 hyphen-minuses, instead of a dash, this website made it barely recognizable. you&#8217;ll know what i am talking about if you &#8216;cp &#8211;help&#8217;.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: ionh</title>
		<link>http://www.thegeekstuff.com/2009/03/15-practical-linux-find-command-examples/comment-page-1/#comment-103635</link>
		<dc:creator>ionh</dc:creator>
		<pubDate>Mon, 16 May 2011 21:32:35 +0000</pubDate>
		<guid isPermaLink="false">http://www.thegeekstuff.com/?p=412#comment-103635</guid>
		<description>I&#039;ve been trying to figure out how to &quot;find&quot; a set of files, with *both* inclusive and exclusive name filters, and then execute a command on the results - conceptually, something like:

find . -iname &quot;*.txt&quot;  -exec grep -v blob ; cp {} MyDir \;

Of course, this is broken, but should indicate what i&#039;m trying to do, namely,
find all &quot;*.txt&quot; files;  reject any that are &quot;*blob*&quot;;  and copy the rest to the MyDir directory.

Anyone know how to do this?</description>
		<content:encoded><![CDATA[<p>I&#8217;ve been trying to figure out how to &#8220;find&#8221; a set of files, with *both* inclusive and exclusive name filters, and then execute a command on the results &#8211; conceptually, something like:</p>
<p>find . -iname &#8220;*.txt&#8221;  -exec grep -v blob ; cp {} MyDir \;</p>
<p>Of course, this is broken, but should indicate what i&#8217;m trying to do, namely,<br />
find all &#8220;*.txt&#8221; files;  reject any that are &#8220;*blob*&#8221;;  and copy the rest to the MyDir directory.</p>
<p>Anyone know how to do this?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: chamu</title>
		<link>http://www.thegeekstuff.com/2009/03/15-practical-linux-find-command-examples/comment-page-1/#comment-102322</link>
		<dc:creator>chamu</dc:creator>
		<pubDate>Tue, 03 May 2011 17:48:33 +0000</pubDate>
		<guid isPermaLink="false">http://www.thegeekstuff.com/?p=412#comment-102322</guid>
		<description>Hi Ramesh,
I like these commands and examples. Really of a help even for an experienced software developer who does not have hands on shell scripting. Keep up the servi</description>
		<content:encoded><![CDATA[<p>Hi Ramesh,<br />
I like these commands and examples. Really of a help even for an experienced software developer who does not have hands on shell scripting. Keep up the servi</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: lokesh grover</title>
		<link>http://www.thegeekstuff.com/2009/03/15-practical-linux-find-command-examples/comment-page-1/#comment-93815</link>
		<dc:creator>lokesh grover</dc:creator>
		<pubDate>Tue, 22 Mar 2011 17:06:53 +0000</pubDate>
		<guid isPermaLink="false">http://www.thegeekstuff.com/?p=412#comment-93815</guid>
		<description>I m student of iacm for hardware networking . I m gain the extra knowldge of linux and networking .</description>
		<content:encoded><![CDATA[<p>I m student of iacm for hardware networking . I m gain the extra knowldge of linux and networking .</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Venkat Subramanian</title>
		<link>http://www.thegeekstuff.com/2009/03/15-practical-linux-find-command-examples/comment-page-1/#comment-80300</link>
		<dc:creator>Venkat Subramanian</dc:creator>
		<pubDate>Fri, 21 Jan 2011 01:30:20 +0000</pubDate>
		<guid isPermaLink="false">http://www.thegeekstuff.com/?p=412#comment-80300</guid>
		<description>Hey Ramesh !! You Rock man.. I love this website and ur free books..  Thanks for all the work you are doing!!  I am proud of you!! :-)</description>
		<content:encoded><![CDATA[<p>Hey Ramesh !! You Rock man.. I love this website and ur free books..  Thanks for all the work you are doing!!  I am proud of you!! <img src='http://www.thegeekstuff.com/wp-includes/images/smilies/icon_smile.gif' alt=':-)' class='wp-smiley' /> </p>
]]></content:encoded>
	</item>
</channel>
</rss>

<!-- Performance optimized by W3 Total Cache. Learn more: http://www.w3-edge.com/wordpress-plugins/

Page Caching using disk: enhanced
Content Delivery Network via Amazon Web Services: CloudFront: static.thegeekstuff.com

Served from: www.thegeekstuff.com @ 2012-02-09 12:56:53 -->
