Skip to content

About

Automated Python desktop tool to sort and organize files

Resources

Stars

1 star

Watchers

0 watching

Forks

Repository files navigation

📂 File Organizer Bot (Community Edition)

A free, lightweight Python script for organizing cluttered directories by file extension.


🚀 Looking for the Pro Version?

Get File Organizer Bot Pro on Gumroad:

  • 🎨 Modern Windows 11 Fluent Interface (Sun Valley Theme)
  • 🔍 Byte-accurate SHA-256 Duplicate File Finder
  • 🛡️ Tamper-Protected Undo System (safe against corrupted file moves)
  • ⚡ Smart Date Grouping (YYYY/MM) & Custom Regex Rules
  • 📦 Standalone Portable .exe (Zero setup or Python needed)

👉 Get File Organizer Bot Pro on Gumroad


Languages

The desktop app supports 10 display languages: English, Mandarin Chinese, Hindi, Spanish, French, Arabic, Bengali, Portuguese, Russian, and Urdu.

Choose a language under Settings > Language & Region, then restart the app to apply it across the interface. New or untranslated messages safely fall back to English.


Running from source

python -m pip install -r requirements.txt
python organize_files.py

Use python organize_files.py --minimized to start hidden in the system tray. All launch paths go through file_organizer.app.main(), which initialises logging and enforces the single-instance guard before any window is created.

Where settings live

Everything user-specific is stored in %USERPROFILE%\.file_organizer\, so the working directory never matters (important when Windows launches the app at sign-in):

File Contents
watch_config.json Watched folders, per-folder options and resume_on_launch
app_settings.json Tray/background preferences
rules.json Custom routing rules (copied from the project folder on first run)
organizer.log Rotating log (5 MB × 3 files) — the only diagnostics in windowed builds

System tray and background operation

  • Closing the window with X hides it to the tray when the tray is available and Keep running in tray is on. Watching continues.
  • If the tray is unavailable (or the option is off) and a folder is being watched, the app asks “Closing this window will stop watching your folders. Quit?” instead of exiting silently.
  • The tray menu offers Open Dashboard (default), Pause all / Resume all, per-folder enable/disable and Open in Explorer, Start with Windows and Quit.
  • Notifications are off by default except errors; summary notifications are limited to one per 60 seconds.
  • A second launch does not create a second instance: it signals the running one to show its window and exits.
  • If pystray or Pillow is missing, or the icon cannot be created, the app logs a warning and keeps working without a tray.

See legacy/README.md for the retired start_daemon.vbs / setup_startup_task.bat / stop_daemon.bat scripts.

Building the Windows executable

python -m PyInstaller --clean --noconfirm organize_files.spec

The build lands in dist\organize_files.exe. The spec keeps console=False and adds pystray._win32 to hiddenimports so the tray works in the packaged app. Source changes do not reach the exe until you rebuild it.

About

Automated Python desktop tool to sort and organize files

Resources

Stars

1 star

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages