Skip to content

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.

Notifications You must be signed in to change notification settings

YthanZhang/line-count

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

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

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages