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

Notifications

Announcements

Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Automate / How to move filsed fro...
Power Automate
Unanswered

How to move filsed from one folder to another based on the file name

(0) ShareShare
ReportReport
Posted on by 10

Hello,

 

Not sure, whether this has been asked by somebody in the past. I'm fully newbie in Power automate and trying to find a solution to our work.

I have one folder with over 9000 of pdf files and need to move all of them to another folders according to one word( serial number).

 

Example:

File name XYZ January Beta => to be moved to XYZ folder

File name ABC January Beta => to be moved to ABC folder

 

If I have multiple files with same serial number, all of them will be moved to same folder.

etc.

Is there any simple way to do it? 😔

 

I cannot imagine to do it manually, Thanks

Jenny

Categories:
I have the same question (0)
  • lbendlin Profile Picture
    8,479 Super User 2025 Season 2 on at

    Where are these files stored?  Are they accessible via Powershell ?

  • dobracik Profile Picture
    10 on at

    Hi, quite not sure, but we uploaded those files to One Drive cloud and now we have to split all of them. 

  • lbendlin Profile Picture
    8,479 Super User 2025 Season 2 on at

    You could sync that Onedrive folder down to a local drive and access that via PowerShell. It would require some network traffic.

  • dobracik Profile Picture
    10 on at

    Ah, did now that but I do not know,on how to do that. I have synced that folder in my driver,but that's it 😔 do you on how to do that? Its on my work PC

  • lbendlin Profile Picture
    8,479 Super User 2025 Season 2 on at

    Once you have synced the folder down you can treat is as if it were a local folder. Run your Powershell scripts, and it will then sync the changes back up.

  • dobracik Profile Picture
    10 on at

    Im not able to write powershell script, Im newbie on Power automate completely😔

  • lbendlin Profile Picture
    8,479 Super User 2025 Season 2 on at

    The point here is that you don't really need Power Automate. You could do it with a couple batch commands, with PowerShell, or even manually. Whatever you feel comfortable with.

  • dobracik Profile Picture
    10 on at

    It would take weeks to move all those files according to the serial number to the specific folders 😞

    Not able to use Powershell as I;m not able to write any command in there.

    is here anybody, who could help, please? 😞

  • dobracik Profile Picture
    10 on at

    Is here aybody who could support?😥

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

Forum hierarchy changes are complete!

In our never-ending quest to improve we are simplifying the forum hierarchy…

Ajay Kumar Gannamaneni – Community Spotlight

We are honored to recognize Ajay Kumar Gannamaneni as our Community Spotlight for December…

Leaderboard > Power Automate

#1
Michael E. Gernaey Profile Picture

Michael E. Gernaey 525 Super User 2025 Season 2

#2
Tomac Profile Picture

Tomac 324 Moderator

#3
abm abm Profile Picture

abm abm 232 Most Valuable Professional

Last 30 days Overall leaderboard