![]() |
find large files/directories in /opt
My /opt is pretty much full after installing lots of games.
I have moved some of the large directories over to MyDocs and set symbolic links but want to create more space. Is there a command or a utility that will tell me the largest files or directories in /opt? If I use the ls commands, all the directories come up as 4096 bytes rather than their true size and I dont really want to go through every directory and sub-directory manually. Hope someone can help. Mike |
Re: find large files/directories in /opt
cd /opt
du -sh * HTH :-) |
Re: find large files/directories in /opt
Quote:
Code:
du -x /opt | sort -n |
Re: find large files/directories in /opt
There is also the really good app "Storage Usage" that lets you visually inspect partition usages and usage by package.
|
All times are GMT. The time now is 12:27. |
vBulletin® Version 3.8.8