Console user interface to check space used by files and folders into your disk.
This app is developped in Go. It uses:
- concurrent-map to use thread-safe concurrent map.
- go-humanize to make size format more readable.
- times to make time format more readable.
- tview to create the console user interface.
- walk to scan directory in parallel.
Clone or Download this repository.
git clone https://github.com/arasT/UsedSpace
Extract the archive and move into it.
cd UsedSpace
Install all needed go packages
go get "github.com/orcaman/concurrent-map"
go get "github.com/dustin/go-humanize"
go get "github.com/djherbis/times"
go get "github.com/rivo/tview"
go get "github.com/MichaelTJones/walk"
Build the executable
go build
You can start the executable using its name following by a directory path to scan.
./UsedSpace <directory's path to scan>
Or without any path, current directory will be scanned
./UsedSpace
You can use available binaries if you don't want to build. Check them into relasT depot, or use the links bellow:
- Linux x64 (compiled on Ubuntu)
- Mac OS X x64
- 'Arrow Left' or 'Arrow Right' to switch between tabs.
- 'tab' to switch between buttons
- 'ctrl + c' to quit the app.
The MIT License. Further details see LICENSE file.
- Cannot scan root path "/" yet.
- Do not work yet on Windows.
Please fork if you want to contribut to this project.