https://github.com/thewh1teagle/rsc
Rusty smart cleaner is a cross-platform Rust tool for cleaning files.
https://github.com/thewh1teagle/rsc
clean files git rust
Last synced: 2 months ago
JSON representation
Rusty smart cleaner is a cross-platform Rust tool for cleaning files.
- Host: GitHub
- URL: https://github.com/thewh1teagle/rsc
- Owner: thewh1teagle
- License: mit
- Created: 2024-02-20T21:02:10.000Z (over 2 years ago)
- Default Branch: main
- Last Pushed: 2024-02-21T13:19:36.000Z (over 2 years ago)
- Last Synced: 2025-03-28T19:07:29.505Z (over 1 year ago)
- Topics: clean, files, git, rust
- Language: Rust
- Homepage: https://thewh1teagle.github.io/rsc/
- Size: 76.2 KB
- Stars: 0
- Watchers: 2
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- License: LICENSE-MIT
Awesome Lists containing this project
README
# rsc
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.
# Installation
To install rsc, please visit the [rsc website](https://thewh1teagle.github.io/rsc/)- which is generated by oranda!
# Usage
```console
Usage: rsc [OPTIONS]
Arguments:
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 Regex patterns to skip deletion
--calculate-size Calculate delete size and display per files and total
-h, --help Print help
-V, --version Print version
```
# Contributing
Feel free to open a new issue or pull request if you notice something off or have a new feature request!
# Warning ⚠️
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.