How do I create a Robocopy script that will copy new files from folder A to folder B then delete files on folder A that are older than 365 days.
Here is my current script to copy
C:\WINDOWS\system32\ROBOCOPY.EXE "D:\Folder A" "S:\Folder B" *.* /NP /B /Z /E /R:10 /W:30 /M /copyall /V /COPY:DT /LOG:Audioback.txt
I would also like the script to let me know which files were deleted in folder A.
Bonus would be to have script also zip the deleted files.