I have two folders synchronised with robocopy (src and mirror) and I try to not removing files in the mirror before 30 days. I tried with /MINAGE
option to say "consider every files older than 30 days" so that it only deletes 30-day old files in the mirror but it seems that it is only acting on available files (not deleted).
robocopy /MIR /MINAGE:30 /SD:src /DD:mirror
So basically, if I create a new file, it will be correctly synced in the mirror (by another robocopy task that doesn't delete files at all); and if the day after I delete it, the file will be deleted in the mirror too when running the previous command. To summarize, I want to delete files deleted in the src folder and older than 30 days in the mirror.
Am I missing something ?
Thank you.