treesize

![crate.badge] ![license.badge] ![commits.badge]

Linux: ![linux.build.badge] Windows: ![windows.build.badge]

Commandline utility that lists a directory tree (similar to tree on windows, linux and other systems) with file and directory sizes, sorted in descending order by size.

Example output:

```

treesize . 15.5 KB (Σ) ├── src 6.5 KB (Σ) │ ├── directory 5.4 KB (Σ) │ │ ├── mod.rs 2.3 KB │ │ ├── print.rs 1.9 KB │ │ └── tree.rs 1.2 KB │ └── main.rs 1.1 KB ├── appveyorrustinstall.ps1 2.7 KB ├── README.md 2.2 KB ├── Cargo.lock 1.6 KB ├── appveyor.yml 1.1 KB ├── LICENSE 1.1 KB └── Cargo.toml 285 B ```

By default, dot-files and symlinks are ignored. However, both can be turned on invidually:

-a List all files (including dotfiles) -L Follow any symbolic links encountered