Crates.io | cargo-cleans |
lib.rs | cargo-cleans |
version | 0.1.3 |
source | src |
created_at | 2022-07-17 11:02:35.261641 |
updated_at | 2022-07-18 02:45:47.767534 |
description | A cargo subcommand cleans all projects under a specified directory with high performance. |
homepage | |
repository | https://github.com/luyikk/cleans |
max_upload_size | |
id | 627182 |
size | 30,171 |
A cargo subcommand cleans all projects under a specified directory with high performance.
Install using cargo:
cargo install cargo-cleans
Clean all target directories under the current working directory.
cargo cleans
Clean all target directories under the directory [dir]
.
cargo cleans -r [dir]
Keep target directories that have a size(MB) of less than [filesize]
.
cargo cleans --keep-size [filesize(MB)]
Keep target directories younger than [days]
days.
cargo cleans --keep-days [days]
Use with tokio+actor concurrent search,the performance is 3-5 times that of others.