On Fri, Feb 06, 2004 at 02:03:36AM -0500, Harley J Pig wrote: > I haven't read you're page yet (it's loading as I type) but I like using > this one: > > for i in `ls` ; do du -h $i ; done > > which will give you a human readable list of sizes each directory is > changing. Can anyone think of a good way to sort that? > > Alan
I know that 'du -sh *' does mostly the same as what you mentioned. But tonight Frank Sorenson showed me a really cool one where you can do 'du -k |sort -n |tail -30'. It sorts all of the biggest subdirectories and files. -- Andrew McNabb http://www.mcnabbs.org/andrew/ PGP Fingerprint: 8A17 B57C 6879 1863 DE55 8012 AB4D 6098 8826 6868
pgp00000.pgp
Description: PGP signature
____________________ BYU Unix Users Group http://uug.byu.edu/ ___________________________________________________________________ List Info: http://uug.byu.edu/cgi-bin/mailman/listinfo/uug-list
