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 / is it possible to move...
Power Automate
Unanswered

is it possible to move the files to folders by match the file name?

(1) ShareShare
ReportReport
Posted on by 4
Here is my case:
 
I have a lot of excel file named like:
"aaa CPU Utilization 31Dec2024-31Dec2024.xlsx"
"bbb Disk Utilization 31Dec2024-31Dec2024.xlsx"
etc.

I need to move them to another folder like:
aaa CPU Utilization 31Jan2024-31Jan2024.xlsx -> 2024-01-02 (yyyy-MM-MM)
aaa CPU Utilization 31Feb2024-31Feb2024.xlsx -> 2024-01-02
...
aaa CPU Utilization 31Nov2024-31Nov2024.xlsx -> 2024-11-12
aaa CPU Utilization 31Dec2024-31Dec2024.xlsx -> 2024-11-12
and if the file not exist it will auto create a folder.

is it possible?
  • CU16071609-1 Profile Picture
    6,255 Moderator on at
    Hi there?
     
    Could you please explain the logic behind moving the folder? On what basis have you decided to move a specific folder?
     
    Thanks,
    Deenuji Loganathan 👩‍💻
    Power Automate Desktop Community Champion 🤖
     
     
  • SL-06120358-0 Profile Picture
    4 on at
    @Deenuji_Loganathan_

    Thank you for you reply.
    Just like I said:
    I need to move them to another folder like:
    aaa CPU Utilization 31Jan2024-31Jan2024.xlsx -> 2024-01-02 (yyyy-MM-MM)
    aaa CPU Utilization 31Feb2024-31Feb2024.xlsx -> 2024-01-02
    ...
    aaa CPU Utilization 31Nov2024-31Nov2024.xlsx -> 2024-11-12
    aaa CPU Utilization 31Dec2024-31Dec2024.xlsx -> 2024-11-12
    and if the file not exist it will auto create a folder.

    It means,
    file name: abc CPU Utilization 31Jan2024-31Jan2024.xlsx
    should be move to
    folder name: 2024-01-02
    the folder name as {year-month1-month2}
    so, it is base on the month to the correct folder.

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

Leaderboard > Power Automate

#1
Mohsin Ali Profile Picture

Mohsin Ali 425

#2
11manish Profile Picture

11manish 323 Super User 2026 Season 2

#3
M Bilal Khan Profile Picture

M Bilal Khan 274

Last 30 days Overall leaderboard