Crates.io | spacedisplay-cli |
lib.rs | spacedisplay-cli |
version | 0.2.0 |
source | src |
created_at | 2022-10-13 20:06:12.706622 |
updated_at | 2022-10-23 18:38:09.127006 |
description | Fast and lightweight tool to scan your disk space. |
homepage | |
repository | https://github.com/funbiscuit/spacedisplay-rs |
max_upload_size | |
id | 687434 |
size | 85,506 |
Simple, cross-platform terminal app to scan and analyze used disk space
Check out GitHub Releases page for the latest build.
You can install spacedisplay-cli
using cargo:
cargo install spacedisplay-cli
Run the binary in your terminal. If launching without arguments, help screen will be opened with explanation over controls:
Key | Action |
---|---|
H, F1 | Open Help/Controls screen |
F | Open Files screen |
S | Open scan statistics |
Q | Quit |
N | Start new scan (opens dialog with available mount points) |
R, F5 | Rescan currently opened directory |
Up/Down | Move up and down inside files list |
Enter, Right | Open selected directory |
D | Delete selected directory/file (opens confirmation dialog) |
Esc, Backspace, Left | Go to the parent directory |
Press N
to open New scan
dialog and select mount point that should be scanned.
Files screen will be opened after scan is started. Scan statistics dialog can be opened
by pressing S
.
While files list is opened, all changes in file system are tracked (from external apps too).
spacedisplay is efficient in both speed and memory footprint. So scan speed is mainly limited by disk access to gather metadata. Here are some test results with time in seconds that takes to fully scan root partition.
Platform | Files+Dirs | SpaceDisplay | File Manager |
---|---|---|---|
Windows 10 | 730K | 13.2s | 38.2s |
Kubuntu | 700K | 1.8s | 3.8s |
macOS Big Sur | 61K | 1.4s | 2.0s |
In test above default file manager is Explorer on Windows, Dolphin in Kubuntu, Finder in macOS.
spacedisplay is also lightweight in terms of memory usage.
To scan 700k files it uses ~100MB of RAM (measured in Kubuntu).