catomatik
11/15/2013 - 11:42 PM

Find biggest files and directories

Find biggest files and directories

find . -type f -exec ls -lhd {} \; | awk '{print $5, $9}' | sort -hr | head -20

find . -type f -size +10000 -exec ls -lhd {} \; | awk '{print $5, $9}' | sort -hr | head -20

du -hsx * | sort -rh | head -20