Hacker News new | past | comments | ask | show | jobs | submit login

another,

Find biggest 10 files in current and subdirectories and sort by file size

>_ find . -type f -print0 | xargs -0 du -h | sort -hr | head -10

alternative,

>find ./ -printf '%s--%p\n'| sort -nr | head




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: