Skip to content

Latest commit

 

History

29 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

dirsize

A small, cross-platform disk usage analyzer written in C17.

dirsize recursively walks a directory tree, calculates the space used by files and directories, and presents the results in a readable form.

Goals

The goal of this project is to build, test, document, and release a small useful systems program with a strict scope.

This is not intended to become a full replacement for tools such as du.

Example

$ ./dirsize ~/Downloads

18.7 GB  ~/Downloads
7.2 GB   ~/Downloads/Software
4.6 GB   ~/Downloads/Videos
3.8 GB   ~/Downloads/Documents
2.1 GB   ~/Downloads/Archives
1.0 GB   ~/Downloads/Other

Tip: run ./dirsize -h in order to see all available options.

Building

to build this project, simply run:

make dirsize

Development

See docs/TODO.md for the development plan and current checklist.

License

This project is licensed under the MIT License. See LICENSE.

About

A small, cross-platform disk usage analyzer written in C17.

Topics

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages