Crates.io | nmuidi |
lib.rs | nmuidi |
version | 0.1.4 |
source | src |
created_at | 2024-02-12 01:00:27.843159 |
updated_at | 2024-02-29 02:04:40.949353 |
description | Parallelizes deleting directories which can significantly speed up deleting large deeply nested directories with a large number of files on Windows |
homepage | https://github.com/Dillonb/nmuidi |
repository | https://github.com/Dillonb/nmuidi |
max_upload_size | |
id | 1136292 |
size | 24,215 |
Deletes stuff, hopefully quickly
This video benchmarks several popular suggestions for deleting files quickly on Windows and compares them to nmuidi.
You can download using the link above. The easiest way to use it in Windows is to make a folder (something like C:\bin
) and add that folder to your path. Then add nmuidi.exe
file you downloaded to that folder and restart any terminals you have open.
Then you can run nmuidi /path/to/some/dir
and you should see some output like the following:
→ ~\repos\nmuidi [main ≡ +0 ~1 -0 !]› nmuidi test
Cleaning test
To change the log level, set the RUST_LOG
environment variable:
PowerShell: $env:RUST_LOG = 'trace'
CMD: set RUST_LOG=trace
The output will then look something like:
→ ~\repos\nmuidi [main ≡ +0 ~1 -0 !]› nmuidi test1 test2
Cleaning test1
Cleaning test2
Total time: 10.00s
Directory timings:
dir test1 took 5.00s
dir test2 took 5.00s
Done.
cargo add nmuidi
add use nmuidi::nmuidi::Cleaner;
Create a cleaner and clean Cleaner::new("some/path").clean();