Here is a Python script for organizing image files into folders based on their file type or creation date. You can choose your preferred organization method by changing the mode variable.
How to Use:
-
Replace
/path/to/your/imageswith the folder containing your images. -
Replace
/path/to/organized/imageswith the folder where you want to organize images. -
Set
modeto'date'to sort into folders by creation date (e.g.,2025-05-18), or'type'to sort by file type (e.g.,jpg,png). -
Run the script.
Let me know if you’d like to add features like duplicate checking, file renaming, or EXIF-based sorting.
Share this Page your favorite way: Click any app below to share.