ProjClean

Find and clean heavy build or cache directories in your system.

screenshot

ProjClean identifies projects based on the project feature file, and then decides based on that project whether or not the matching directory should be added to the cleanup list.

Project Rule

ProjClean finds target folders according to project rule.

Each project rule consist of three parts. <to clean up directory>[;feature file][;project name]

You can print the default project rules with projclean -l.

node_modules;package.json;node target;Cargo.toml;rust build;build.gradle;java ^(Debug|Release)$;\.sln$;vs

You can append custom rules.

sh projclean -p dist -p '.next;;nextjs' -p '^(build|dist)$;package.json;js'

You can also write project rules to a file then load.

```sh projclean -l > rules.csv echo '.next;;nextjs' >> rules.csv echo '^(build|dist)$;package.json;js' >> rules.csv

projclean -f rules.csv ```

More examples:

sh projclean # Find from current directory projclean $HOME # Find from $HOME directory projclean -l # Print project rules projclean -t # Print the matching directory directly (without entering tui)

License

Copyright (c) 2022 projclean-developers.

argc is made available under the terms of either the MIT License or the Apache License 2.0, at your option.

See the LICENSE-APACHE and LICENSE-MIT files for license details.