1 |
On Sun, 13 Jul 2014 14:03:41 -0600, Joseph wrote: |
2 |
|
3 |
> I'm trying to clean up my home directory by locating large disk files. |
4 |
> I used: find / -type f -size +20000k -exec ls -lh {} \; | awk '{ print |
5 |
> $8 ": " $5 }' |
6 |
> |
7 |
> but I'm getting strange output: |
8 |
> 13:57: 194M |
9 |
> 2011: 57M |
10 |
> 17:05: 31M |
11 |
|
12 |
File name with spaces will result in awk returning the wrong field, or at |
13 |
least not the field you expected. Use du as suggested elsewhere. |
14 |
|
15 |
|
16 |
-- |
17 |
Neil Bothwick |
18 |
|
19 |
New Intel opcode #007 PUKE: Put unmeaningful keywords everywhere |