Rusty smart cleaner is a cross-platform Rust tool for cleaning files.
It provides an easy way to remove unwanted files from your projects, using strategies such as gitignore.
By default it's navigating between the folders and clean them based on their .gitignore
files.
To install rsc, please visit the rsc website- which is generated by oranda!
Usage: rsc [OPTIONS] <PATH>
Arguments:
<PATH> Root Path to clean from
Options:
-d, --delete Enable deletion
-q, --quiet Quiet mode
-i, --ignore-errors Ignore errors such as permission denied
--skip-nested Skip nested gitignores scan
--skip-patterns <SKIP_PATTERNS> Regex patterns to skip deletion
--calculate-size Calculate delete size and display per files and total
-h, --help Print help
-V, --version Print version
Feel free to open a new issue or pull request if you notice something off or have a new feature request!
I am not responsible for any files you might lose. By default, it doesn't delete files and runs in 'dry' mode.
I recommend running it once to see, and only then pass --delete
to enable deletion.