web
You’re offline. This is a read only version of the page.
close
Skip to main content

Announcements

News and Announcements icon
Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Automate / Move Files from Camera...
Power Automate
Answered

Move Files from Camera Roll to Monthly Folders in a Given Year

(0) ShareShare
ReportReport
Posted on by 26

Hi there,

Having recently became a grandfather when I take pictures on my mobile phone of my grandson they get saved to the Camera Roll in my personal Onedrive. I have set up a set of folders within a year e.g 2022 and Monlthy folders of 01 January, 02 February etc.

I am seeking to chart my grandson's progress by saving the pictures to each month of the year.

I have used the Get Current Date and Time and Convert datetime to text with UK custom format of ddMMyyHHmm as the files have a created date and modified date in this format

I have then used the Get Files in folder to locate files in camera roll and having read threads on setting variable for modified date i have used both modified and creation date then as below pic as my current working example but every time i attempt to run it moves all the files not just the files that i seek into January 2022Movfiles.jpg

 

Any Assistance would be greatly appricated

 

Regards,

 

Shaun

I have the same question (0)
  • Verified answer
    VJR Profile Picture
    7,635 on at

    Hello Shaun,

     

    In line #22, you are using %FilesToMove% which is the entire list of files.

    You should be using %File% which is the current file running inside the loop.

     

    Please write back if there any issues.

     

     

  • shaunie_67 Profile Picture
    26 on at

    Hi there,

     

    Thanks for that and It worked like a dream just a simple solution

     

    Thanks again

     

    Shaun

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

Season of Sharing Community Challenge Winners!

Congratulations to our community stars!

Kudos to our 2025 Community Spotlight Honorees

Expanding mentorship, skilling, and AI innovation

Congratulations to the June Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Automate

#1
David_MA Profile Picture

David_MA 262 Super User 2026 Season 1

#2
11manish Profile Picture

11manish 167

#3
Haque Profile Picture

Haque 154

Last 30 days Overall leaderboard