Link to home
Create AccountLog in
Avatar of Member_2_6492660_1
Member_2_6492660_1Flag for United States of America

asked on

Script Needed Compare to folders

Windows 2003 R2 Servers.

I run a scipt that copies a folder from a NAS drive to a USB drive for a backup copy.

Example

teracopy.exe copy n:\photos "d:\photo backup" /overwriteall /close >c:\util\photo.log

It copies all the photos every time 5000 in total.

Would like a way to compare both folders and then only copy the files that have changed or have been added.

Maybe a script that could feed the teracopy program

Any ideas?
ASKER CERTIFIED SOLUTION
Avatar of Steven Harris
Steven Harris
Flag of United States of America image

Link to home
membership
Create an account to see this answer
Signing up is free. No credit card required.
Create Account
Avatar of Member_2_6492660_1

ASKER

Works great thanks for the information on robocopy

Teracopy is a great program too but robocopy has the function I require