Counting SLOC of multiple files
I am using "wc -l" command to count SLOC. How can I use the command to run on all the files in my directory without having to specify the name of each file seperatly
|
Assuming that the directory you want is /home/user/example then some variation of the following command should do what you want:
find /home/user/example -iname "*" -exec wc {} -l \; |
All times are GMT -5. The time now is 04:14 PM. |