View Full Version : [ubuntu] Arrange Items by File Size
March 8th, 2009, 12:14 AM
I'm trying to clean out some diretories on my HD. I'm using Intrepid.
When I right click then arrange items by file size, it arranges them by how many items the folder contains, not the size of the folder. How would I arrange them by the actual size of the folder?
March 8th, 2009, 03:55 PM
Open a terminal and cd to the parent directory you are interested in and issue:
du --max-depth=1 | sort -g
March 8th, 2009, 04:26 PM
Works perfectly! Thanks!
March 8th, 2009, 04:36 PM
You are welcome! I used that one a log when I managed servers and needed to find large files.
March 8th, 2009, 04:56 PM
For a GUI solution, try running baobab from a terminal. It shows graphically the proportinate sizes of folders on your HD
March 8th, 2009, 05:11 PM
Good tool. I have never ran it before.
Powered by vBulletin® Version 4.2.2 Copyright © 2015 vBulletin Solutions, Inc. All rights reserved.