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 / Help build a flow to c...
Power Automate
Unanswered

Help build a flow to combine two sets of files and rename if files are duplicates

(0) ShareShare
ReportReport
Posted on by

hi, I'm sure there maybe a post about something similar but struggling to locate. 

 

in this situation I have to merge two folders of jpeg files together. the aim is to insert a stock image (in folder A) into the rest of the photos (folder b), however the stock image needs to be named as the first file and the following images have to sequentially renamed to fit. all must be named consecutively otherwise the output doesn't work. an example of what I'm trying to achieve is below.

 

p.s. i am an early beginner with power automate so still learning the basics. 

 

example 

folder A: 1_1_image, 3_1_image

 

folder b: 1_1_image, 1_2_image, 1_3_image, 2_1_image, 2_2_image, 2_3_image, 3_1_image, 3_2_image, 3_3_image

 

the aim is if folder A contains a copy of what is located in folder B, then the files in folder B to be renamed as X_X+1_image with the idea that each file is "shifted" along +1 in accordance to the _x value. 

 

any assistance would be greatly appreciated 🙂

Categories:
I have the same question (0)

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 523 Super User 2025 Season 2

#2
Tomac Profile Picture

Tomac 406 Moderator

#3
abm abm Profile Picture

abm abm 245 Most Valuable Professional

Last 30 days Overall leaderboard