Skip to main content

Notifications

Community site session details

Community site session details

Session Id :
Power Automate - Using Flows
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

 

  • matiellu2021 Profile Picture
    5 on at
    Re: How to copy a file to another folder and rename its final title to the current date on sharepoint using power automate

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

  • Verified answer
    v-LilyW-msft Profile Picture
    on at
    Re: How to copy a file to another folder and rename its final title to the current date on sharepoint using power automate

    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.

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,618 Most Valuable Professional

#2
RandyHayes Profile Picture

RandyHayes 76,287 Super User 2024 Season 1

#3
Pstork1 Profile Picture

Pstork1 65,948 Most Valuable Professional

Leaderboard

Featured topics

Restore a deleted flow