PowerShell script to move files and folders including subfolders from one location to another older than x days

前端 未结 4 2175
说谎
说谎 2021-02-13 02:10

I developed a PowerShell script, and it\'s working absolutely fine. The only challenge is the files in the subfolders are not getting moved to the destination.

g         


        
4条回答
  •  余生分开走
    2021-02-13 02:38

    Simplification of the above
    robocopy A:\ B:\ /MIR /minage:31
    Where A:\ is your source B:\ is your destination

提交回复
热议问题