On 07/13/2014 04:03 PM, Joseph wrote: > I'm trying to clean up my home directory by locating large disk files. I used: > find / -type f -size +20000k -exec ls -lh {} \; | awk '{ print $8 ": " $5 }' > > but I'm getting strange output:
Just use "du -h" instead of "ls -lh" and awk: find / -type f -size +20000k -exec du -h {} \;