Repository navigation
Folders and files
| Name | Name | Last commit date | ||
|---|---|---|---|---|
Repository files navigation
1) Count files recursively in directory
test/resources/filecount
> find . -type f | wc -l
> 12
test/resources/minions
> find . -type f | wc -l
> 62
2) Count files, and lines recursively in directory
test/resources/filecount
> find . -type f | wc -l
> 12
> find . -type f -exec cat {} + | wc -l
> 16
test/resources/minions
> find . -type f | wc -l
> 62
> find . -type f -exec cat {} + | wc -l
> 4044
3) Count code/whitespace/comments of Java code recursively in directory
test/resources/minions
> cloc .
> -------------------------------------------------------------------------------
> Language files blank comment code
> -------------------------------------------------------------------------------
> Java 39 436 264 1978
4) Count code/whitespace/comments for given languages recursively in directory