On Sun, 13 Jul 2014 14:03:41 -0600, 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: > 13:57: 194M > 2011: 57M > 17:05: 31M
File name with spaces will result in awk returning the wrong field, or at least not the field you expected. Use du as suggested elsewhere. -- Neil Bothwick New Intel opcode #007 PUKE: Put unmeaningful keywords everywhere
signature.asc
Description: PGP signature