Robocopy delete by modified or create date.
Hi there, Were cleaning up a whole lot of junk thats accumulated on our File Servers over several years and what we want to do is delete/move all files that have not been modified or created before 1-June-2009. I'm looking through the robocopy documentation and it mentions I can specify parameters such as; minage maxage maxlad minlad has anyone used these much before? I can't seem to find much information on the syntax and use of it. Cheers.............Momo
February 26th, 2010 9:28am

Minage and maxage relates to the date modified Minlad and maxlad relates to the the last accessed date. Example: Robocopy "E:\folder 1" "E:\folder 2" /V /e /NP /R:10 /W:30 /minage:7 This copies files from one folder that are 7 days old or older to another folder. Hope this helps.
Free Windows Admin Tool Kit Click here and download it now
March 11th, 2010 6:13pm

Hi ,I had tested the minage earlier and i see that it takes timestamp rather than date modified ,so a better way to is to test at your setup and analyze the robocopy.log file .
March 12th, 2010 5:09am

This topic is archived. No further replies will be accepted.

Other recent topics Other recent topics