Interactive CLI tool for cleaning up directories. Swipe left to keep, swipe right to delete.
npm install -g sweep-itsweep-it <directory-path>sweep-it ~/Downloads
sweep-it ./old-projects- ← Left Arrow - Keep the file/directory
- → Right Arrow - Delete the file/directory
- ↵ Enter - Finish and confirm deletion
- Run
sweep-itwith a target directory path - Review files one by one with their last modified dates
- Use arrow keys to categorize each item
- See running lists of items to keep and delete
- Confirm before final deletion
MIT
