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 / Copy files/folders bet...
Power Automate
Unanswered

Copy files/folders between document libraries but excluding specific file names

(0) ShareShare
ReportReport
Posted on by

Hi,

I've been battling with this one for a day or so.  The concept is straightforward, I have two document libraries with matching folder structures.  I want to copy files from document library A to document library B, there are nested folders and I want to exclude some files from this copy process. 

 

So far I've got this, the process works to a point, the issue I have that all files that are copied to document library B are dumped into the root of the destination folder and not respecting the folder structure.

 

flow-again1.jpg

The formula in "Files to copy" is:

items('Apply_to_each')['{Identifier}']

 

Thanks in advance

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

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Users!

Kudos to our 2025 Community Spotlight Honorees

Congratulations to our 2025 community superstars!

Congratulations to the April Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Automate

#1
Vish WR Profile Picture

Vish WR 796

#2
Valantis Profile Picture

Valantis 671

#3
Haque Profile Picture

Haque 551

Last 30 days Overall leaderboard