du -cksh * | sort -rn | head -11
-
Archives
- January 2012
- December 2011
- November 2011
- October 2011
- June 2011
- May 2011
- March 2011
- January 2011
- October 2010
- September 2010
- July 2010
- June 2010
- May 2010
- February 2010
- January 2010
- December 2009
- September 2009
- August 2009
- July 2009
- June 2009
- May 2009
- April 2009
- March 2009
- February 2009
- January 2009
- December 2008
- November 2008
- October 2008
- September 2008
- August 2008
- July 2008
- June 2008
- May 2008
- April 2008
- March 2008
- February 2008
- January 2008
- December 2007
- November 2007
- October 2007
- September 2007
- August 2007
- July 2007
- June 2007
- May 2007
- April 2007
- March 2007
- February 2007
- January 2007
- December 2006
- November 2006
- October 2006
- September 2006
- August 2006
- July 2006
- June 2006
- May 2006
- April 2006
- March 2006
- February 2006
- January 2006
- December 2005
- November 2005
- October 2005
-
Meta
This mixes up K sized files with M sized files so it tells me 332K is bigger than 255M. Does that go back to the UTF-8 encoding issue. I came up with another method that gets me what I want in directories with Gig files in them. It doesn’t sort G, M and K appropriately though.
sudo du -ckh * | sort -rn |egrep ‘[0-9]G[[:space:]]’
Take the -h out of the du, that makes them have the M, G and K on there, I added that right before I posted, because I am not always good at looking at the longer numbers. Without that it works as you want it too, just not with the human readable marker at the end.
:-) I like the human readable markers too. All those digits get confused inside my little brain :-)