cargo-cleans

Crates.iocargo-cleans
lib.rscargo-cleans
version0.1.3
sourcesrc
created_at2022-07-17 11:02:35.261641
updated_at2022-07-18 02:45:47.767534
descriptionA cargo subcommand cleans all projects under a specified directory with high performance.
homepage
repositoryhttps://github.com/luyikk/cleans
max_upload_size
id627182
size30,171
(luyikk)

documentation

README

cargo-cleans

A cargo subcommand cleans all projects under a specified directory with high performance.

Installation

Install using cargo:

cargo install cargo-cleans

Usage

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]

Compare with other

Use with tokio+actor concurrent search,the performance is 3-5 times that of others.

Commit count: 10

cargo fmt