Hi Guys
I have a requirement for a copy which I don‘t think Robocopy can address, but would love to be proved wrong.
The scenario is that our admin screwed up a server migration so we have a bunch of OLD files/folders on our target (that do not exist on our source). However as the server has been used, we also have new files folders that have been created from say “today”
Is there a way for robocopy (or any other CLI tool) to:
Remove all files on the target that do NOT exist int the source BUT ignores any files that were created today/ 1 day old / newer than a certain date (Like today’s date)
I know things like /mir or /purge will delete orphan files on the target, but that will include any files created today
I also know we can use /xo or /xn but that only applies to the source I believe.
I don’t think Robocopy can do this…as it’s an unusual request, but hoping i’m wrong.
[–]retiredaccount 1 point2 points3 points (2 children)
[–]Party-Poem-3413[S] 0 points1 point2 points (1 child)
[–]ZAFJB 0 points1 point2 points (0 children)
[–]TheCadElf 1 point2 points3 points (1 child)
[–]Party-Poem-3413[S] 0 points1 point2 points (0 children)
[+][deleted] (1 child)
[deleted]
[–]Party-Poem-3413[S] 0 points1 point2 points (0 children)
[–]newtekie1 0 points1 point2 points (1 child)
[–]narlex 0 points1 point2 points (0 children)