A simple yet powerful file organization system that automatically categorizes files and monitors directories for changes.
- 📂 Organizes files by type (documents, images, videos, etc.)
- 🔄 Monitors directories for changes in real-time
- 🔔 Sends desktop notifications for file operations
- ⚡ Runs as a background service by default
- 🛠️ Easy to configure and extend
- Linux-based OS (tested on Ubuntu)
- Python 3.x
inotify-tools
(for file watching)notify-send
(for desktop notifications)
Install dependencies on Ubuntu/Debian:
sudo apt update
sudo apt install inotify-tools
- Clone this repository
- Make the script executable:
chmod +x fwatch
# Watch and organize ~/Downloads (runs in background by default)
./fwatch -d ~/Downloads
-d, --directory PATH Directory to watch (default: ~/Downloads)
--foreground Run in foreground (default: runs in background)
-h, --help Show this help message
./fwatch -d ~/Downloads --foreground
# Stop all file watcher instances
pkill -f fwatch
Files are organized into these categories:
documents/
- PDFs, Word, Excel, etc.images/
- JPG, PNG, GIF, etc.videos/
- MP4, AVI, MKV, etc.audios/
- MP3, WAV, etc.compressed/
- ZIP, RAR, TAR, etc.scripts/
- Python, Bash, etc.others/
- All other files
MIT License - See LICENSE for details.