Code Repository Analysis
Posted by Boaz Sender
Jan 09 2010
Ever wonder how many files or lines of code are sitting in your project? Hop on the command line and run the following find
commands in your bash
Find the number of files in the current directory (runs recursively down into all subdirectories):
find . | wc -l
Find how many lines of code are in the current directory (runs recursively down into all subdirectories):
find . -name '*' | xargs wc -l
Tagged in
Contact Us
We'd love to hear from you. Get in touch!