This is a simple from my point of view still static PhotoSync-script with a few simple options. The Script basically looks into up to 4 different sourcefolders and syncs the media into one destinationpath.
If the source is no Messengerpath the script looks up the last edit timestamp of the media file and depending on that puts it into a new [QUARTER][YEAR] folder in the destnation path. So if your syncing your Fotos of 2020 there will be four folders in the destination path with the names
"2020-Q1"
"2020-Q2"
"2020-Q3"
"2020-Q4"
and your files will be sorted into these folders.
If the source path is the messengerpath, the script does basically the same, but differs in not creating quarter folders but just one folder for every synced year.
RENAME the config_example.json into just config.json and replace the properties accordingly to your paths. There is one option you can choose for every path and this is wether you want to copy the files or move them. If you want to adjust the valid file extensions, just add, remove or change any file format to your needs in the "validFileFormats" setting.
- english language / different language files
The appicon is from Flaticon and if someone should find the link for it, let me know and i will contribute for it here, i couldnt find it on my own.