<?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: How to count files (get the number of files) under a directory in Linux?</title>
	<atom:link href="http://www.kavoir.com/2008/11/how-to-count-files-get-the-number-of-files-under-a-directory-in-linux.html/feed" rel="self" type="application/rss+xml" />
	<link>http://www.kavoir.com/2008/11/how-to-count-files-get-the-number-of-files-under-a-directory-in-linux.html</link>
	<description>Just another dumbass webmaster, goofing around...</description>
	<lastBuildDate>Wed, 08 Feb 2012 09:57:05 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
	<item>
		<title>By: Craig Lotter</title>
		<link>http://www.kavoir.com/2008/11/how-to-count-files-get-the-number-of-files-under-a-directory-in-linux.html/comment-page-1#comment-15331</link>
		<dc:creator>Craig Lotter</dc:creator>
		<pubDate>Wed, 29 Jun 2011 09:30:59 +0000</pubDate>
		<guid isPermaLink="false">http://www.kavoir.com/2008/11/how-to-count-files-get-the-number-of-files-under-a-directory-in-linux.html#comment-15331</guid>
		<description>Perfect, just what I was looking for! :)</description>
		<content:encoded><![CDATA[<p>Perfect, just what I was looking for! :)</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Yang Yang</title>
		<link>http://www.kavoir.com/2008/11/how-to-count-files-get-the-number-of-files-under-a-directory-in-linux.html/comment-page-1#comment-8173</link>
		<dc:creator>Yang Yang</dc:creator>
		<pubDate>Fri, 26 Feb 2010 07:12:50 +0000</pubDate>
		<guid isPermaLink="false">http://www.kavoir.com/2008/11/how-to-count-files-get-the-number-of-files-under-a-directory-in-linux.html#comment-8173</guid>
		<description>Nice catch!</description>
		<content:encoded><![CDATA[<p>Nice catch!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Alex Carter</title>
		<link>http://www.kavoir.com/2008/11/how-to-count-files-get-the-number-of-files-under-a-directory-in-linux.html/comment-page-1#comment-4319</link>
		<dc:creator>Alex Carter</dc:creator>
		<pubDate>Thu, 09 Jul 2009 12:05:32 +0000</pubDate>
		<guid isPermaLink="false">http://www.kavoir.com/2008/11/how-to-count-files-get-the-number-of-files-under-a-directory-in-linux.html#comment-4319</guid>
		<description>Thank you for this tip. At some point I also needed to count files in all subdirectories as well, so I found this solution, may be it will be useful for somebody else:

ls -laR &#124; wc -l</description>
		<content:encoded><![CDATA[<p>Thank you for this tip. At some point I also needed to count files in all subdirectories as well, so I found this solution, may be it will be useful for somebody else:</p>
<p>ls -laR | wc -l</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Ravindra</title>
		<link>http://www.kavoir.com/2008/11/how-to-count-files-get-the-number-of-files-under-a-directory-in-linux.html/comment-page-1#comment-4001</link>
		<dc:creator>Ravindra</dc:creator>
		<pubDate>Wed, 27 May 2009 09:48:47 +0000</pubDate>
		<guid isPermaLink="false">http://www.kavoir.com/2008/11/how-to-count-files-get-the-number-of-files-under-a-directory-in-linux.html#comment-4001</guid>
		<description>ls -l . &#124; egrep -c &#039;^-&#039;</description>
		<content:encoded><![CDATA[<p>ls -l . | egrep -c &#8216;^-&#8217;</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Yang Yang</title>
		<link>http://www.kavoir.com/2008/11/how-to-count-files-get-the-number-of-files-under-a-directory-in-linux.html/comment-page-1#comment-2156</link>
		<dc:creator>Yang Yang</dc:creator>
		<pubDate>Tue, 06 Jan 2009 05:27:38 +0000</pubDate>
		<guid isPermaLink="false">http://www.kavoir.com/2008/11/how-to-count-files-get-the-number-of-files-under-a-directory-in-linux.html#comment-2156</guid>
		<description>@Chris
I used it under a directory with around 18,000 gif images and it didn&#039;t show up the error. What&#039;s the rough number of files you have?</description>
		<content:encoded><![CDATA[<p>@Chris<br />
I used it under a directory with around 18,000 gif images and it didn&#8217;t show up the error. What&#8217;s the rough number of files you have?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Chris</title>
		<link>http://www.kavoir.com/2008/11/how-to-count-files-get-the-number-of-files-under-a-directory-in-linux.html/comment-page-1#comment-2154</link>
		<dc:creator>Chris</dc:creator>
		<pubDate>Tue, 06 Jan 2009 03:36:35 +0000</pubDate>
		<guid isPermaLink="false">http://www.kavoir.com/2008/11/how-to-count-files-get-the-number-of-files-under-a-directory-in-linux.html#comment-2154</guid>
		<description>Unfortunately this wont work on directories with a lot of files in them; you&#039;ll get the &quot;Argument list too long&quot; error…</description>
		<content:encoded><![CDATA[<p>Unfortunately this wont work on directories with a lot of files in them; you&#8217;ll get the &#8220;Argument list too long&#8221; error…</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Mike</title>
		<link>http://www.kavoir.com/2008/11/how-to-count-files-get-the-number-of-files-under-a-directory-in-linux.html/comment-page-1#comment-1326</link>
		<dc:creator>Mike</dc:creator>
		<pubDate>Mon, 15 Dec 2008 15:27:12 +0000</pubDate>
		<guid isPermaLink="false">http://www.kavoir.com/2008/11/how-to-count-files-get-the-number-of-files-under-a-directory-in-linux.html#comment-1326</guid>
		<description>Nice tip. Could you use something like this:

ls &#124; wc -l

as well?</description>
		<content:encoded><![CDATA[<p>Nice tip. Could you use something like this:</p>
<p>ls | wc -l</p>
<p>as well?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Jackson Matthews</title>
		<link>http://www.kavoir.com/2008/11/how-to-count-files-get-the-number-of-files-under-a-directory-in-linux.html/comment-page-1#comment-1295</link>
		<dc:creator>Jackson Matthews</dc:creator>
		<pubDate>Sun, 14 Dec 2008 18:11:50 +0000</pubDate>
		<guid isPermaLink="false">http://www.kavoir.com/2008/11/how-to-count-files-get-the-number-of-files-under-a-directory-in-linux.html#comment-1295</guid>
		<description>I am going to switch to linux in a few days, most likely sometime before Christmas! I will surely have to save this code somewhere. This will make life much easier. Thanks for the quick tip!

Thank You,</description>
		<content:encoded><![CDATA[<p>I am going to switch to linux in a few days, most likely sometime before Christmas! I will surely have to save this code somewhere. This will make life much easier. Thanks for the quick tip!</p>
<p>Thank You,</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Yang Yang</title>
		<link>http://www.kavoir.com/2008/11/how-to-count-files-get-the-number-of-files-under-a-directory-in-linux.html/comment-page-1#comment-1124</link>
		<dc:creator>Yang Yang</dc:creator>
		<pubDate>Mon, 08 Dec 2008 12:09:32 +0000</pubDate>
		<guid isPermaLink="false">http://www.kavoir.com/2008/11/how-to-count-files-get-the-number-of-files-under-a-directory-in-linux.html#comment-1124</guid>
		<description>@Hans

While many agree that learning new things is exciting, refreshing and often bringing new perspectives, it&#039;s in nature a cost.

Every new approach comes with a cost, to adopt it or not is the question of cost-effectiveness.</description>
		<content:encoded><![CDATA[<p>@Hans</p>
<p>While many agree that learning new things is exciting, refreshing and often bringing new perspectives, it&#8217;s in nature a cost.</p>
<p>Every new approach comes with a cost, to adopt it or not is the question of cost-effectiveness.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Joe Nathan</title>
		<link>http://www.kavoir.com/2008/11/how-to-count-files-get-the-number-of-files-under-a-directory-in-linux.html/comment-page-1#comment-1113</link>
		<dc:creator>Joe Nathan</dc:creator>
		<pubDate>Wed, 03 Dec 2008 06:31:09 +0000</pubDate>
		<guid isPermaLink="false">http://www.kavoir.com/2008/11/how-to-count-files-get-the-number-of-files-under-a-directory-in-linux.html#comment-1113</guid>
		<description>Hi! Are you interested in getting a banner/ header/ logo/ template/ business cards/ mascot designs / directory or article submissions, for your site for no money, in return we require text links from your site http://www.kavoir.com. Approaching you through this form since I could not find out the email address. Please get back to me if you are interested.</description>
		<content:encoded><![CDATA[<p>Hi! Are you interested in getting a banner/ header/ logo/ template/ business cards/ mascot designs / directory or article submissions, for your site for no money, in return we require text links from your site <a href="http://www.kavoir.com" rel="nofollow">http://www.kavoir.com</a>. Approaching you through this form since I could not find out the email address. Please get back to me if you are interested.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Hans</title>
		<link>http://www.kavoir.com/2008/11/how-to-count-files-get-the-number-of-files-under-a-directory-in-linux.html/comment-page-1#comment-1107</link>
		<dc:creator>Hans</dc:creator>
		<pubDate>Sun, 23 Nov 2008 10:11:43 +0000</pubDate>
		<guid isPermaLink="false">http://www.kavoir.com/2008/11/how-to-count-files-get-the-number-of-files-under-a-directory-in-linux.html#comment-1107</guid>
		<description>I will try this command later when I switched to Linux. I am still in exploration stage in Ubuntu and I am having difficulty every now and then that is why I tend to go back to Windows when I am rushing up something.</description>
		<content:encoded><![CDATA[<p>I will try this command later when I switched to Linux. I am still in exploration stage in Ubuntu and I am having difficulty every now and then that is why I tend to go back to Windows when I am rushing up something.</p>
]]></content:encoded>
	</item>
</channel>
</rss>

