"putzen" is German and means cleaning. It helps keeping your disk clean of build and dependency artifacts safely.

About
In short, putzen solves the problem of cleaning up build or dependency artifacts. It does so by a simple "File" -> "Folder" rule. If the "File" and "Folder" is present, it cleans "Folder"
It also does all this fast, means in parallel (if the filesystem supports it).
Supported Artifacts
putzen supports cleaning artifacts for:
| type | file that is checked | folder that is cleaned |
|---|---|---|
| rust | Cargo.toml | target |
| javascript | package.json | node_modules |
| CMake | CMakeLists.txt | build |
furthermore, it does also support:
- It can do run a dry-run (
-d) - Interactive asking for deletion
- Sums up the space that will be freed
Quick Start
Install
On Linux as snap
- installation for Linux Mint
- installation for Arch Linux
TL;DR:
With cargo
To install the putzen, you just need to run
Note the binary is called putzen (without -cli)
to verify if the installation was successful, you can run which putzen that should output similar to
Usage
Alternative Projects
License
- GNU GPL v3 license
- Copyright 2019 - 2022 © Sven Assmann
- Logo - Clean icons created by photo3idea_studio - Flaticon