Hi Folks,
I am rather new in power automate and I am also one who organizes photos in a folder structure like this: …\year photo was taken\ name of month photo was taken\original file name.jpeg. E.g. …\2023\November\test.jpeg.
currently I have too many photos not following this structure but all in one single folder.
my question is, can power automate desktop be used to move the files from the source folder to the target structure using EXIF information from the individual pictures? Can anyone provide this flow?
many thanks!
I have listed the actions you need in bold in my previous message. Those are the exact action names, assuming your PAD interface is English. Use those and you should be good to go. If you get stuck with a specific step, let us know and we'll help you from there.
Thanks for the answers so far. Unfortunately It looks like I need some basic support first: how to start this particular flow. Ideally there is alaredy some sample flow, which I could try and evaluate to learn.
If the "creation date" of the file in they Windows system matches the date when the photo was taken, it is quite simple. You need to use Get files in folder to get all of your photos, then use a For each loop on the %Files% generated by the previous action. The loop will generate a %CurrentItem% on each iteration, which will hold the current file with its metadata. You can then use %CurrentItem.CreationTime% as a date time value and use Convert date time to text to convert the value to a year value using YYYY as the custom format and get the name of the month (localized according to the language of your system) by using MMMM as the custom format. You can then use If folder exists on each of those values and Create folder if it doesn't exist.
Finally, use Move file(s) to move the %CurrentItem% to the folder you have just created (or the path to the folder, if it already exists).
When it's done looping, your files will be organized appropriately.
-------------------------------------------------------------------------
If I have answered your question, please mark it as the preferred solution. If you like my response, please give it a Thumbs Up.
I also provide paid consultancy and development services using Power Automate. If you're interested, DM me and we can discuss it.
Use get files in folder activity and see the advanced settings give descending or ascending order which you required.
Hope this helps
Usha.
WarrenBelz
146,645
Most Valuable Professional
RandyHayes
76,287
Super User 2024 Season 1
Pstork1
65,997
Most Valuable Professional