SourceForge presents the Nifty Clean project. Nifty Clean is an open source application. SourceForge provides the world's largest selection of Open Source Software. Clean is a program that searches for backup files and such identified by regular expressions in a ~/.cleanrc, and deletes them: possibly interactively with a per-file y/n decision, or in a batch mode. Clean is written in C and targets Unix/POSIX.Extracted automatically from Clean homepage
brew install clean
This formula has no dependencies.