I'm very interesting in creating a script that can update a destination Folder according a Source folder, and a little more than that...
The background here is all my Photos organized in folders like this: [YYYY]\[MM]\[YYYY_MM_DD] - [Event name], where all source files are arriving on my PC, and then backup til my two NAS drives.
When making the first backup to the NAS not all source folders might have got a [Even Name] yet, and not even all photos from all cameras for that day yet, which result in a structure difference as on the two screen dumps attached here and .
As you can see, I've now updated all Source folders with [Event Name], and the Destination only some are updated, and some still only holds the raw Date name.
I'd like to get a script that will compare the Source and Dist folder names, and update the Dist folders with correct Source [Event name], and accordingly add eventual new files from Source.
An additional challenge is also, that sometime in the analyze phrase of the raw source folder, I have to split the folder into two or more folders with same date, but different [Event name], and the raw folder has already been backup. So now for the update process to be complete, the according extra source folders will have to be created on the destination, and the files in the Dist folder split into the correct [Event name] folder, according to the source.
I think you get the picture
Who is the one that has the script that can make this happen
Many thanks in advance.
Best Regards,
Bjarne
XYplorer Beta Club