4

'h' flag in du

view full story
linux-howto

http://www.unix.com – Hey, all! Why is the "human readable" flag changing the behavior of du? And while I'm at it, can you make du only look at files, not directories. I often find myself wanting to find the largest file(s) in a dir or vol. Using 'find' itself, it seems you have to at least be able to guess the size of the files you're looking for, so you can specify what sized files 'find' should ignore. Or, is there an app for that? : ) Code: -bash $ du -a /Volumes/GARMIN | sort -n -r | head -n 10 7483232        /Volumes/GARMIN 5791224        /Volumes/G (HowTos)