Link to home
Start Free TrialLog in
Avatar of samiam41
samiam41Flag for United States of America

asked on

Need to overwrite data when copy job is run

I had this question after viewing Copy dir and files with robocopy.

When I run the copy job, I need to overwrite the data in the target directory using a robocopy switch.  Any experts want to provide some guidance, please?  Thanks in advance.
ASKER CERTIFIED SOLUTION
Avatar of Shaun Vermaak
Shaun Vermaak
Flag of Australia 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
Are you wanting to overwrite ALL files, even if they are the same?  If so, try the /IS switch.

Otherwise, Robocopy will overwrite older files unless you use one of the /X switches.
(I didn't mean to duplicate the previous post; I was just too slow!)
Avatar of samiam41

ASKER

Brilliant work.  Thanks again!