FolderFlow is a lightweight and customizable command-line file organizer that automatically sorts files into categorized folders based on their extensions.
- 🔍 Detects and moves files by type (Images, Videos, Documents, Music, Archives, etc.)
- 📁 Creates folders automatically if they don't exist
- 📝 Optional logging to a
log.txtfile for tracking actions - 💻 Easy-to-use command-line interface with helpful flags
- ⚡️ Fast and cross-platform (Windows, Linux, macOS)
- Clone the repository:
git clone https://github.com/yourusername/folderflow.git
cd folderflow- Install the CLI tool locally:
pip install .Organize files in a directory:
folderflow --path "E:/Downloads"Enable logging to track moved files:
folderflow --path "E:/Downloads" --log trueSpecify custom folder names for file types:
folderflow --path "E:/Downloads" --images "Photos" --documents "Docs"Display all available options:
folderflow --helpE:/Downloads/
├── song.mp3
├── picture.jpg
├── doc.pdf
├── archive.zip
├── script.py
E:/Downloads/
├── Music/
│ └── song.mp3
├── Images/
│ └── picture.jpg
├── Documents/
│ └── doc.pdf
├── Archives/
│ └── archive.zip
├── Code/
│ └── script.py
Command:
folderflow --path "E:/Downloads" --images "Photos" --documents "Docs"Result:
E:/Downloads/
├── Music/
│ └── song.mp3
├── Photos/
│ └── picture.jpg
├── Docs/
│ └── doc.pdf
├── Archives/
│ └── archive.zip
├── Code/
│ └── script.py