Link to home
Start Free TrialLog in
Avatar of hgj1357
hgj1357

asked on

ROBOCOPY files older than 30 days exclude folders

I am using robocopy to move files not accessed in 30 days:

ROBOCOPY "C:\_Test1" "C:\_TEST2" /move /minlad:0 /s

However, it is not quite doing what I need.  I want it to move files but leave all folders intact.

Thanks
Avatar of hgj1357
hgj1357

ASKER

..Also, overwrite duplicate files and recreate file structure in destination.
ASKER CERTIFIED SOLUTION
Avatar of Lee Ingalls
Lee Ingalls
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of hgj1357

ASKER

So the key here is using /MOV and not /MOVE

Thanks