Skip to content

A simple and efficient tool to automatically organize files by extension into categorized folders. Includes dry-run mode, safe file moves, and easy customization.

Notifications You must be signed in to change notification settings

mircothibes/Automatic-File-Organizer-in-Python

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

22 Commits
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

Automatic File Organizer

A simple Python tool to organize files by extension, moving them into categorized subfolders.
Perfect for keeping folders like Downloads clean and tidy automatically.


Screenshot

Here’s how the Tkinter GUI looks:

Organizer GUI


✨ Features (MVP)

  • Fixed mapping of extensions β†’ categories (Documents, Images, Audio, etc.)
  • Dry-run (--dry-run): simulates the process without moving any files
  • Safe move: prevents overwriting existing files (-1, -2…)
  • Automatically creates destination folders

πŸ“¦ Requirements

  • Python 3.10+
  • No external dependencies (uses only Python's standard library)

πŸš€ Usage Simulation mode (dry-run) python -m organizer.cli --src ~/Downloads --dst ~/Downloads/Organized --dry-run

Real execution python -m organizer.cli --src ~/Downloads --dst ~/Downloads/Organized

Options

Flag Description Default
--src Source folder ~/Downloads
--dst Destination folder ~/Downloads/Organized
--dry-run Simulate the process without moving any files False

πŸ“‚ Categories and Extensions

Category Extensions
Documents .pdf, .docx, .xlsx, .pptx, .txt, .md
Images .jpg, .jpeg, .png, .gif, .bmp, .webp, .svg
Audio .mp3, .wav, .flac, .m4a
Videos .mp4, .mov, .mkv, .avi
Archives .zip, .rar, .7z, .tar, .gz
Installers .exe, .msi, .dmg, .pkg
Code .py, .js, .ts, .html, .css, .json, .yaml, .yml, .xml
Others Any extension not mapped above

πŸ“œ License Distributed under the MIT License. See LICENSE for more information.


πŸ‘¨β€πŸ’» Author

Developed by Marcos Vinicius Thibes Kemer


About

A simple and efficient tool to automatically organize files by extension into categorized folders. Includes dry-run mode, safe file moves, and easy customization.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages