Skip to content

Instantly share code, notes, and snippets.

View JVT038's full-sized avatar

Jin JVT038

View GitHub Profile
@JVT038
JVT038 / readme.md
Created May 2, 2022 14:47
A script to organize media into different folders based on year and month

This python script I wrote has been made to organize (thousands of) photos in the same directory into different folders, depending on year, and month. This can be useful if you use (or have used) the OneDrive syncing app, where all the photos will be synced into one big folder called the 'Camera Roll'.

Feel free to modify this script to your own purposes. Warning: This script isn't perfect. It can lead to errors, conflicts, it can malfunction. If something goes wrong, I am not responsible, though your data should be 100% safe, as nothing gets deleted, only moved.

The following python packages are required to run this script: ffmpeg-python