Skip to main content

Notifications

Community site session details

Community site session details

Session Id :
Power Automate - Using Flows
Unanswered

How to build a flow replace file each 1 hour

(0) ShareShare
ReportReport
Posted on by 36

Hello! 

Suppose I have for example in my computer 2 folders:
1- the source path: Download/folder1/folder2/file.txt
2- the destination path: Download/folderA/folderB/folderC

I want that :

A- If file.txt does not exist in the destination path, create a duplication of file.txt in the destination path.

B- If file.txt exist in the destination path, replace the content of file.txt (destination path) with the content of file.txt (source path)

So we must have at the end in the destination path: Download/folderA/folderB/folderC/file.txt

and in the source path: Download/folder1/folder2/file.txt

Each 1 hour, the file.txt (source path) must replace the content of file.txt (destination path).

THANKS!

  • VictorIvanidze Profile Picture
    12,212 on at
    Re: How to build a flow replace file each 1 hour

    Create a PowerShell script.

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

🌸 Community Spring Festival 2025 Challenge 🌸

WIN Power Platform Community Conference 2025 tickets!

Markus Franz – Community Spotlight

We are honored to recognize Markus Franz as our April 2025 Community…

Kudos to the March Top 10 Community Stars!

Thanks for all your good work in the Community!

Leaderboard

#1
WarrenBelz Profile Picture

WarrenBelz 146,660 Most Valuable Professional

#2
RandyHayes Profile Picture

RandyHayes 76,287 Super User 2024 Season 1

#3
Pstork1 Profile Picture

Pstork1 65,999 Most Valuable Professional

Leaderboard

Featured topics

Restore a deleted flow