A powerful Python-based utility that automatically sorts your files into organized folders! ๐
- Automatically sorts files by type (images, documents, videos, etc.)
- Date-based organization (Year/Month structure)
- Magic number detection for accurate file type identification
- Creates folders only when needed (no empty folders)
- Clean and intuitive GUI
- Dark mode support ๐
- Drag and drop functionality
- Real-time status logging
- Progress tracking
- Statistics dashboard ๐
- Watch folders for new files
- Automatic organization of new files
- Start/stop monitoring with one click
- Background processing
- Both CLI and GUI modes
- Cross-platform compatibility
- Standalone executable support
- Customizable organization rules
- Clone the repository:
git clone https://github.com/yourusername/file-organizer.git
cd file-organizer- Install dependencies:
pip install -r requirements.txt- Run the application:
# GUI Mode
python file_organizer.py
# CLI Mode
python file_organizer.py --mode cli --source /path/to/directory- Launch the application
- Select a directory using the Browse button or drag and drop
- Choose organization options:
- Toggle date-based organization
- Enable/disable dark mode
- Click "Organize Files" to start
- Use "Start Monitoring" to watch for new files
# Basic usage
python file_organizer.py --mode cli --source /path/to/directory
# With date-based organization
python file_organizer.py --mode cli --source /path/to/directory --date-based- Make sure you have PyInstaller installed:
pip install pyinstaller- Build the executable:
# Basic build
pyinstaller --onefile file_organizer.py
# Build with icon (optional)
pyinstaller --onefile --icon=path/to/icon.ico file_organizer.pyThe executable will be created in the dist directory.
- Navigate to the
distdirectory - Run the executable:
- Windows: Double-click
file_organizer.exe - Linux/Mac:
./file_organizer
- Windows: Double-click
- ๐ Standalone application (no Python installation required)
- ๐ฆ All dependencies included
- ๐ Full functionality of the Python version
- ๐ป Works on any compatible system
# GUI Mode (default)
file_organizer.exe
# CLI Mode
file_organizer.exe --mode cli --source /path/to/directory
# With date-based organization
file_organizer.exe --mode cli --source /path/to/directory --date-based- Share the executable with others
- No need to install Python or dependencies
- Works on systems without Python installed
- Single file distribution
- Python 3.6+ (for development)
- Required packages (automatically installed):
- watchdog
- python-magic-bin
- tkinterdnd2
- pyinstaller
- humanize
- JPG, JPEG, PNG, GIF, BMP, SVG
- PDF, DOC, DOCX, TXT
- XLSX, XLS
- PPT, PPTX
- MP4, AVI, MKV, MOV, WMV
- MP3, WAV, FLAC, M4A
- ZIP, RAR, 7Z, TAR, GZ
- PY, JS, HTML, CSS
- JAVA, CPP, C, H
Contributions are welcome! Please feel free to submit a Pull Request.
This project is licensed under the MIT License - see the LICENSE file for details.
Give a โญ๏ธ if this project helped you!
- None at the moment! Report any issues you find.
- Custom organization rules
- File preview
- Batch processing
- Cloud storage integration
- More file type support
Made with โค๏ธ by Aakash Sharma