<?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 Find Large Files and Directories in Unix</title>
	<atom:link href="http://www.unixtutorial.org/2008/03/find-large-files-and-directories/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.unixtutorial.org/2008/03/find-large-files-and-directories/</link>
	<description>Learn UNIX</description>
	<lastBuildDate>Thu, 26 Jan 2012 23:00:28 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
	<item>
		<title>By: UnixSapp</title>
		<link>http://www.unixtutorial.org/2008/03/find-large-files-and-directories/comment-page-1/#comment-7056</link>
		<dc:creator>UnixSapp</dc:creator>
		<pubDate>Thu, 03 Nov 2011 14:41:12 +0000</pubDate>
		<guid isPermaLink="false">http://www.unixtutorial.org/2008/03/find-large-files-and-directories/#comment-7056</guid>
		<description>Sorry. It&#039;s the mtime that is giving the issues. It is Nov 3 and it is now deleting files from Oct 31. I thought that mtime +2 would have deleted the files on Nov 1 or 2 at the latest?</description>
		<content:encoded><![CDATA[<p>Sorry. It's the mtime that is giving the issues. It is Nov 3 and it is now deleting files from Oct 31. I thought that mtime +2 would have deleted the files on Nov 1 or 2 at the latest?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: UnixSapp</title>
		<link>http://www.unixtutorial.org/2008/03/find-large-files-and-directories/comment-page-1/#comment-7055</link>
		<dc:creator>UnixSapp</dc:creator>
		<pubDate>Wed, 02 Nov 2011 13:30:13 +0000</pubDate>
		<guid isPermaLink="false">http://www.unixtutorial.org/2008/03/find-large-files-and-directories/#comment-7055</guid>
		<description>I am running this cleanup script to keep my Solaris drop box well, cleaned up.


#!/bin/ksh
#
userdir=/clocal/ftp/user
  
for i in `ls ${userdir}`
do
        find ${userdir}/${i}/incoming -mtime +2 -type f -ls
        find ${userdir}/${i}/incoming -mtime +2 -type f -exec rm {} \;
        find ${userdir}/${i}/incoming -mtime +2 -type f -size +200557600c -ls
        find ${userdir}/${i}/incoming -mtime +2 -type f -size +200557600c -exec rm {} \;
done

But, if I think it misses a lot of filenames with spaces in them (People t4ransferring DOS files). Any suggestions to catch those files as well?

Mike</description>
		<content:encoded><![CDATA[<p>I am running this cleanup script to keep my Solaris drop box well, cleaned up.</p>
<p>#!/bin/ksh<br />
#<br />
userdir=/clocal/ftp/user</p>
<p>for i in `ls ${userdir}`<br />
do<br />
        find ${userdir}/${i}/incoming -mtime +2 -type f -ls<br />
        find ${userdir}/${i}/incoming -mtime +2 -type f -exec rm {} \;<br />
        find ${userdir}/${i}/incoming -mtime +2 -type f -size +200557600c -ls<br />
        find ${userdir}/${i}/incoming -mtime +2 -type f -size +200557600c -exec rm {} \;<br />
done</p>
<p>But, if I think it misses a lot of filenames with spaces in them (People t4ransferring DOS files). Any suggestions to catch those files as well?</p>
<p>Mike</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Partha Datta</title>
		<link>http://www.unixtutorial.org/2008/03/find-large-files-and-directories/comment-page-1/#comment-7005</link>
		<dc:creator>Partha Datta</dc:creator>
		<pubDate>Thu, 05 May 2011 06:48:02 +0000</pubDate>
		<guid isPermaLink="false">http://www.unixtutorial.org/2008/03/find-large-files-and-directories/#comment-7005</guid>
		<description>For finding the directory size I use a small script.
for i in `ls -F &#124; grep &#039;/$&#039;` ; do
   du -sh `echo &quot;$i&quot;`
   done</description>
		<content:encoded><![CDATA[<p>For finding the directory size I use a small script.<br />
for i in `ls -F | grep '/$'` ; do<br />
   du -sh `echo "$i"`<br />
   done</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: carrieDMS</title>
		<link>http://www.unixtutorial.org/2008/03/find-large-files-and-directories/comment-page-1/#comment-6960</link>
		<dc:creator>carrieDMS</dc:creator>
		<pubDate>Thu, 27 Jan 2011 06:35:01 +0000</pubDate>
		<guid isPermaLink="false">http://www.unixtutorial.org/2008/03/find-large-files-and-directories/#comment-6960</guid>
		<description>du -h &#124; sort -n -r &#124; head -n 20</description>
		<content:encoded><![CDATA[<p>du -h | sort -n -r | head -n 20</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Detecting large files and directories in Ubuntu &#171; developingElegance();</title>
		<link>http://www.unixtutorial.org/2008/03/find-large-files-and-directories/comment-page-1/#comment-6914</link>
		<dc:creator>Detecting large files and directories in Ubuntu &#171; developingElegance();</dc:creator>
		<pubDate>Thu, 02 Dec 2010 15:23:02 +0000</pubDate>
		<guid isPermaLink="false">http://www.unixtutorial.org/2008/03/find-large-files-and-directories/#comment-6914</guid>
		<description>[...] http://www.unixtutorial.org/2008/03/find-large-files-and-directories/ [...]</description>
		<content:encoded><![CDATA[<p>[...] <a href="http://www.unixtutorial.org/2008/03/find-large-files-and-directories/" rel="nofollow">http://www.unixtutorial.org/2008/03/find-large-files-and-directories/</a> [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: branchenverzeichnis online</title>
		<link>http://www.unixtutorial.org/2008/03/find-large-files-and-directories/comment-page-1/#comment-6899</link>
		<dc:creator>branchenverzeichnis online</dc:creator>
		<pubDate>Sun, 24 Oct 2010 09:55:18 +0000</pubDate>
		<guid isPermaLink="false">http://www.unixtutorial.org/2008/03/find-large-files-and-directories/#comment-6899</guid>
		<description>What a nice post. I really love reading these types or articles. I can?t wait to see what others have to say.</description>
		<content:encoded><![CDATA[<p>What a nice post. I really love reading these types or articles. I can?t wait to see what others have to say.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: bdk</title>
		<link>http://www.unixtutorial.org/2008/03/find-large-files-and-directories/comment-page-1/#comment-6725</link>
		<dc:creator>bdk</dc:creator>
		<pubDate>Tue, 20 Oct 2009 23:47:41 +0000</pubDate>
		<guid isPermaLink="false">http://www.unixtutorial.org/2008/03/find-large-files-and-directories/#comment-6725</guid>
		<description>Find the sizes of only directories sorted by size:

find . -type d -print0 &#124; xargs -0 -n1 du -sk &#124; sort -rn &gt; dir-sizes.txt&amp;

If you just want the 50 or so largest add &#039;&#124; head -n50&#039; before piping it to the output file. Sizes are in KB for ez sort and reading.</description>
		<content:encoded><![CDATA[<p>Find the sizes of only directories sorted by size:</p>
<p>find . -type d -print0 | xargs -0 -n1 du -sk | sort -rn &gt; dir-sizes.txt&amp;</p>
<p>If you just want the 50 or so largest add '| head -n50' before piping it to the output file. Sizes are in KB for ez sort and reading.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Rubo77</title>
		<link>http://www.unixtutorial.org/2008/03/find-large-files-and-directories/comment-page-1/#comment-5374</link>
		<dc:creator>Rubo77</dc:creator>
		<pubDate>Sat, 04 Jul 2009 15:56:37 +0000</pubDate>
		<guid isPermaLink="false">http://www.unixtutorial.org/2008/03/find-large-files-and-directories/#comment-5374</guid>
		<description>thx,
i use this to find large files on my webserver

want to see the sizes directly and dont want to see files in the folder /download/, so i use:

find /var/www/ -type f -name &quot;*&quot; -size +100M -exec du -h &#039;{}&#039; \;&#124;grep -v /download/</description>
		<content:encoded><![CDATA[<p>thx,<br />
i use this to find large files on my webserver</p>
<p>want to see the sizes directly and dont want to see files in the folder /download/, so i use:</p>
<p>find /var/www/ -type f -name "*" -size +100M -exec du -h '{}' \;|grep -v /download/</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Gleb Reys</title>
		<link>http://www.unixtutorial.org/2008/03/find-large-files-and-directories/comment-page-1/#comment-4043</link>
		<dc:creator>Gleb Reys</dc:creator>
		<pubDate>Sat, 09 May 2009 00:55:46 +0000</pubDate>
		<guid isPermaLink="false">http://www.unixtutorial.org/2008/03/find-large-files-and-directories/#comment-4043</guid>
		<description>Andrei, du -sk &lt;DIRNAME&gt; does exactly that, but you need to then sort the output so that it finds the largest.</description>
		<content:encoded><![CDATA[<p>Andrei, du -sk <dirname> does exactly that, but you need to then sort the output so that it finds the largest.</dirname></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Andrei</title>
		<link>http://www.unixtutorial.org/2008/03/find-large-files-and-directories/comment-page-1/#comment-3461</link>
		<dc:creator>Andrei</dc:creator>
		<pubDate>Wed, 22 Apr 2009 10:06:20 +0000</pubDate>
		<guid isPermaLink="false">http://www.unixtutorial.org/2008/03/find-large-files-and-directories/#comment-3461</guid>
		<description>Please tell me how can i find the largest directory through a bash script who will sum the file in the folder(only the final directories). Thank you</description>
		<content:encoded><![CDATA[<p>Please tell me how can i find the largest directory through a bash script who will sum the file in the folder(only the final directories). Thank you</p>
]]></content:encoded>
	</item>
</channel>
</rss>

<!-- Performance optimized by W3 Total Cache. Learn more: http://www.w3-edge.com/wordpress-plugins/

Minified using disk: basic
Page Caching using disk: enhanced
Database Caching 1/20 queries in 0.008 seconds using disk: basic
Object Caching 409/425 objects using disk: basic
Content Delivery Network via Amazon Web Services: S3: unixtutorial.s3.amazonaws.com

Served from: www.unixtutorial.org @ 2012-02-08 00:59:51 -->
