/rmrfrs

🧹 rmrfrs is a powerful filesystem cleaning tool designed to optimize storage by identifying and removing unnecessary files within known project structures.

Primary LanguageRustOtherNOASSERTION

🧹 rmrfrs

🧹 rmrfrs is a powerful filesystem cleaning tool designed to optimize storage by identifying and removing unnecessary files within known project structures.

20+ Supported Project Types

Cargo (Rust), CMake (C, C++), Composer (PHP), Elixir, Godot 4.x (C#, GDScript)

Gradle (Java) Jupyter Notebook (Python), Pixi (Python), Maven (Java), Node (JavaScript)

Pub (Dart), Python SBT (Scala), Stack (Haskell), Swift

Unity (C#), Unreal Engine (C++), Zig, .NET (C#, F#) Turborepo (JavaScript)

Features

  • Recursive Search: Scans directories and subdirectories for recognized project structures.
  • Space Savings: Estimates the amount of space that can be freed by deleting redundant files.

Installation

To install rmrfrs, simply clone the repository and follow the instructions below:

git clone https://github.com/trinhminhtriet/rmrfrs.git
cd rmrfrs

cargo install --path .

rmrfrs --help
rmrfrs code/my_project code/my_project_2
rmrfrs --older 3M
rmrfrs -o3M

Optionally, you can add ~/.cargo/bin to your PATH if it's not already there

echo 'export PATH="$HOME/.cargo/bin:$PATH"' >> ~/.bashrc
source ~/.bashrc

Usage

Run rmrfrs with the following command to start cleaning your filesystem:

./rmrfrs [options] [path]

Contributing

We welcome contributions! Please fork the repository and submit a pull request for any enhancements or bug fixes.

License

This project is licensed under the MIT License - see the LICENSE file for details.