/Codometer

Calculate the number of miles of code for a project.

Primary LanguageShell

Codometer

Calculate how many miles of code are written in a directory and its subdirectories, as if each character were one after the other on one line. Assumes 12 characters per 1 inch of screen space.

Instructions

Save and run this script in the topmost directory of your project. Alternatively, run the script from Github (without saving it to your computer) by running the following command on your command line:

bash <(curl -s https://raw.githubusercontent.com/ericmagnuson/Codometer/master/Codometer.sh)

License

© 2013 Eric Magnuson – MIT License