<?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: How-To: Use SSH to Investigate Folder Sizes</title>
	<atom:link href="http://gigaom.com/2010/05/04/how-to-use-ssh-to-investigate-folder-sizes/feed/" rel="self" type="application/rss+xml" />
	<link>http://gigaom.com/2010/05/04/how-to-use-ssh-to-investigate-folder-sizes/</link>
	<description></description>
	<lastBuildDate>Wed, 19 Jun 2013 02:03:26 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.com/</generator>
	<item>
		<title>By: Jeff</title>
		<link>http://gigaom.com/2010/05/04/how-to-use-ssh-to-investigate-folder-sizes/#comment-385820</link>
		<dc:creator><![CDATA[Jeff]]></dc:creator>
		<pubDate>Tue, 04 May 2010 20:07:57 +0000</pubDate>
		<guid isPermaLink="false">http://theappleblog.com/?p=45109#comment-385820</guid>
		<description><![CDATA[I&#039;m with Andy - I use a variation of this command on a linux box I have to babysit, and it works great for the macs too.

du -cms *&#124; sort -nr

Gives you your disk usage of every file in the folder (in megabytes) sorted largest on top for easy finding of offenders! :)

you can leave off the &#039;c&#039; ... it outputs a total. I happen to find that useful as well.

Thanks for the post!
]]></description>
		<content:encoded><![CDATA[<p>I&#8217;m with Andy &#8211; I use a variation of this command on a linux box I have to babysit, and it works great for the macs too.</p>
<p>du -cms *| sort -nr</p>
<p>Gives you your disk usage of every file in the folder (in megabytes) sorted largest on top for easy finding of offenders! :)</p>
<p>you can leave off the &#8216;c&#8217; &#8230; it outputs a total. I happen to find that useful as well.</p>
<p>Thanks for the post!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Asmus</title>
		<link>http://gigaom.com/2010/05/04/how-to-use-ssh-to-investigate-folder-sizes/#comment-385819</link>
		<dc:creator><![CDATA[Asmus]]></dc:creator>
		<pubDate>Tue, 04 May 2010 18:28:34 +0000</pubDate>
		<guid isPermaLink="false">http://theappleblog.com/?p=45109#comment-385819</guid>
		<description><![CDATA[Huh? First of all you should have SSH turned on anyways to be able to encrypt data going from your computer to the client, second you could then put in your command right into &quot;send unix command&quot; window anyway! Why are you advertising ARD if you´re using your Terminal for that? ;-)
I also strongly agree with Andy that using -m is better (for being able to sort) and I would also advise using -d x (where x is a number) instead of -s, so you can easily tell &quot;du&quot; how deep to traverse into your folder structure!
Finally you should definitely consider a) talking to your users about disk space usage or b) using quota or mcx policies if that happens regularly.
Cheers, Asmus
]]></description>
		<content:encoded><![CDATA[<p>Huh? First of all you should have SSH turned on anyways to be able to encrypt data going from your computer to the client, second you could then put in your command right into &#8220;send unix command&#8221; window anyway! Why are you advertising ARD if you´re using your Terminal for that? ;-)<br />
I also strongly agree with Andy that using -m is better (for being able to sort) and I would also advise using -d x (where x is a number) instead of -s, so you can easily tell &#8220;du&#8221; how deep to traverse into your folder structure!<br />
Finally you should definitely consider a) talking to your users about disk space usage or b) using quota or mcx policies if that happens regularly.<br />
Cheers, Asmus</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Alan Fischer</title>
		<link>http://gigaom.com/2010/05/04/how-to-use-ssh-to-investigate-folder-sizes/#comment-385818</link>
		<dc:creator><![CDATA[Alan Fischer]]></dc:creator>
		<pubDate>Tue, 04 May 2010 18:05:44 +0000</pubDate>
		<guid isPermaLink="false">http://theappleblog.com/?p=45109#comment-385818</guid>
		<description><![CDATA[Sounds a bit snoopy to me.
]]></description>
		<content:encoded><![CDATA[<p>Sounds a bit snoopy to me.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Andy</title>
		<link>http://gigaom.com/2010/05/04/how-to-use-ssh-to-investigate-folder-sizes/#comment-385816</link>
		<dc:creator><![CDATA[Andy]]></dc:creator>
		<pubDate>Tue, 04 May 2010 17:38:05 +0000</pubDate>
		<guid isPermaLink="false">http://theappleblog.com/?p=45109#comment-385816</guid>
		<description><![CDATA[Another good du usage is to pipe it into sort so you can easily see the biggest offenders.     You can&#039;t sort using -h since 4.0g would look smaller than 400m, so you need to give it a set unit.  -m for megabyte and -g for gigabyte (added in Snow Leopard).

du -ms &#124; sort -n

Also, if you want ssh to stay on after reboots, instead of the /sbin/service ssh command, use:

/bin/launchctl load -w /System/Library/LaunchDaemons/ssh.plist
]]></description>
		<content:encoded><![CDATA[<p>Another good du usage is to pipe it into sort so you can easily see the biggest offenders.     You can&#8217;t sort using -h since 4.0g would look smaller than 400m, so you need to give it a set unit.  -m for megabyte and -g for gigabyte (added in Snow Leopard).</p>
<p>du -ms | sort -n</p>
<p>Also, if you want ssh to stay on after reboots, instead of the /sbin/service ssh command, use:</p>
<p>/bin/launchctl load -w /System/Library/LaunchDaemons/ssh.plist</p>
]]></content:encoded>
	</item>
</channel>
</rss>
