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

You can also exclude certain file patterns by throwing in a grep -v or two, eg. my command for counting JavaScript lines and excluding 3rd-party libraries is:

    find . -name "*.js" | grep -v jquery | xargs wc -l



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

Search: