Skip to main content

Notifications

Community site session details

Community site session details

Session Id : ba9uGnhtFcrn7HH58Hd5Dc
Power Automate - Power Automate Desktop
Unanswered

Organize Photos by date taken

Like (0) ShareShare
ReportReport
Posted on 14 Nov 2023 20:15:10 by 7

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!

  • Agnius Bartninkas Profile Picture
    10,045 Most Valuable Professional on 17 Nov 2023 at 09:07:50
    Re: Organize Photos by date taken

    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.

  • Matze7 Profile Picture
    7 on 16 Nov 2023 at 16:23:40
    Re: Organize Photos by date taken

    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.

  • Agnius Bartninkas Profile Picture
    10,045 Most Valuable Professional on 15 Nov 2023 at 07:13:45
    Re: Organize Photos by date taken

    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.

  • UshaJyothiKasibhotla Profile Picture
    6 Super User 2025 Season 1 on 15 Nov 2023 at 02:16:10
    Re: Organize Photos by date taken

    Use get files in folder activity and see the advanced settings give descending or ascending order which you required.

     

    Hope this helps 

    Usha.

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

🌸 Community Spring Festival 2025 Challenge 🌸

WIN Power Platform Community Conference 2025 tickets!

Markus Franz – Community Spotlight

We are honored to recognize Markus Franz as our April 2025 Community…

Kudos to the March Top 10 Community Stars!

Thanks for all your good work in the Community!

Leaderboard

#1
WarrenBelz Profile Picture

WarrenBelz 146,645 Most Valuable Professional

#2
RandyHayes Profile Picture

RandyHayes 76,287 Super User 2024 Season 1

#3
Pstork1 Profile Picture

Pstork1 65,997 Most Valuable Professional

Leaderboard