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 / How to copy a file to ...
Power Automate
Answered

How to copy a file to another folder and rename its final title to the current date on sharepoint using power automate

(0) ShareShare
ReportReport
Posted on by 5

 

Hey guys
Do you know if POWER AUTOMATE can rename a file that was renamed by it before, this in a programmed "looping"? I want every Thursday Power Automate to copy the file to the Folder (History), then rename the file in its previous folder to the current date.

in short: -
Stream scheduled for Thursdays;
- Copy the File "Teste_26_08_2021" in the Folder "HISTORICO";
- Rename the file "Test_26_08_2021" to "Test_27_08_2021" (to the current date) in the current folder;

 

in short: -
Fluxo agendado para as quintas-feiras;
-Copie o Arquivo "Teste_26_08_2021" na Pasta "HISTORICO";
- Renomeie o arquivo "Test_26_08_2021" para "Test_27_08_2021" na pasta atual;

========================================================== =========================

 

 

matiellu2021_0-1629998133323.png

 

matiellu2021_0-1630003625068.png

 

Atenciosamente
lucas

 

Categories:
I have the same question (0)
  • Verified answer
    v-LilyW-msft Profile Picture
    Microsoft Employee on at

    Hi @matiellu2021 

    According to your description, you want to create a new file with the current date in the file name based on the old file and move the old file to the specified folder every week.

    I set up a flow you can refer to and see if it helps.

    This is my library:

    vLilyWmsft_0-1630035029087.png

    Flow in details:

    vLilyWmsft_1-1630035029090.png

    vLilyWmsft_2-1630035029094.png

    vLilyWmsft_3-1630035029097.png

    vLilyWmsft_4-1630035029106.png

    After Flow runs, the new file will be created in Test1 Folder and the old file will be moved to HISTORICO folder.

    vLilyWmsft_5-1630035029108.pngvLilyWmsft_6-1630035029113.png

    Hope the content above may help you.

    Best Regards

    If my solution helps, then please consider Accept it as the solution to help the other members find it more quickly.

  • matiellu2021 Profile Picture
    5 on at

    @v-LilyW-msft Automation works perfectly! Thank you very much!

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!

Leaderboard > Power Automate

#1
Haque Profile Picture

Haque 58

#2
David_MA Profile Picture

David_MA 53 Super User 2026 Season 1

#3
Expiscornovus Profile Picture

Expiscornovus 36 Most Valuable Professional

Last 30 days Overall leaderboard