Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

You need to filter out directory entries.

    find -type f -ls|awk '{s += $7} END {print s}'
    find -type f -print0 | xargs -0 wc -c | tail -1
    find -type f -exec wc -c {} + | tail -1


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

Search: