1 |
2014-07-13 14:19 GMT-06:00 Michael Orlitzky <mjo@g.o>: |
2 |
> On 07/13/2014 04:03 PM, Joseph wrote: |
3 |
>> I'm trying to clean up my home directory by locating large disk files. I used: |
4 |
>> find / -type f -size +20000k -exec ls -lh {} \; | awk '{ print $8 ": " $5 }' |
5 |
>> |
6 |
>> but I'm getting strange output: |
7 |
> |
8 |
> Just use "du -h" instead of "ls -lh" and awk: |
9 |
> |
10 |
> find / -type f -size +20000k -exec du -h {} \; |
11 |
> |
12 |
> |
13 |
|
14 |
I usually use du and find, or the like, for this porpouse, but |
15 |
recently stumbled upon the sys-apps/baobab (also known as gnome disk |
16 |
usage tool) tool which does a nice job at locating those large files, |
17 |
and giving you a nice graph of usage of diretories, pretty useful in |
18 |
my opinion, and I don't think you need to install the entire gnome to |
19 |
use it. give it a look for me it changed the way I do this particular |
20 |
task. |