Added
- Intelligent grouping with machine learning (
-i,--intelligentflag):
Kondo now offers a new flag for ML-based file organization without affecting existing flags.- For text files, it reads and analyzes the first 100 lines using TF-IDF (Term Frequency-Inverse Document Frequency) to understand content and group related files.
- For non-text files, Kondo applies k-means clustering to identify and group similar files.
This feature is opt-in via-ior--intelligentand currently cannot be customized.
Usage
kondo [OPTIONS] [DIRECTORY]
OPTIONS:
-c, --categorize Organize files by category (images, videos, documents, etc.)
-f, --filename Group similar files based on filename patterns
-i, --intelligent Use ML-based clustering with TF-IDF content analysis
-nui, --no-ui Skip UI and automatically organize files
-h, --help Show this help messageEXAMPLES
kondo -i messy_folder
|
|
|---|---|
| Happy Organizing! 💗 |
Important note: Currently, the -nui flag doesn’t work with -i. I'm working on that fix, and it will be available soon.
Thanks so much for using Kondo! It’s been so fun building this ❤️


