Skip to content

A program to quickly count files in a subdirectory. This is mostly a programming demonstration.

License

Notifications You must be signed in to change notification settings

sschamp/fast-file-count

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

18 Commits
 
 
 
 
 
 
 
 

Repository files navigation

fast-file-count

A program to quickly count files in a subdirectory. This is mostly a programming demonstration that arose from some sample code poasted to StackOverflow here: https://stackoverflow.com/questions/1427032/fast-linux-file-count-for-a-large-number-of-files/28368788#28368788

Contributions welcome!

Compiling

Using GCC or LLVM, the code complies cleanly using this command:

$ cc -Wall -pedantic -o dircnt dircnt.c

Usage

$ dircnt [dir]

Where 'dir' is the directory you want to scan for files. The default dir is "." (current directory).

About

A program to quickly count files in a subdirectory. This is mostly a programming demonstration.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • C 100.0%