Skip to content

Latest commit

 

History

9 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Usage

Count lines of all files in current directory recursively

line-count .

Count lines of all files in current directory non-recursively

line-count . --no-recurse

Count lines of all files in group of directories recursively

line-count /dir/a /dir/b /dir/c

Filter files to count. This regex only match file name, not full directory

line-count . -r "(\.(rs|md|toml))$"

Filter files to count with negative filter. Matched files are skipped

line-count . -r "(\.(rs|md|toml))$" --regex-not

About

A simple command line utility to get the line count of: a group of files in a directory recursively or non-recursively, in multiple directories, or of specific files.

Resources

Stars

1 star

Watchers

1 watching

Forks

Releases

Packages

Used by

Contributors

Languages