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?
VB ScriptShell ScriptingWindows Batch

Avatar of undefined
Last Comment
Member_2_6492660_1

8/22/2022 - Mon
ASKER CERTIFIED SOLUTION
Steven Harris

Log in or sign up to see answer
Become an EE member today7-DAY FREE TRIAL
Members can start a 7-Day Free trial then enjoy unlimited access to the platform
Sign up - Free for 7 days
or
Learn why we charge membership fees
We get it - no one likes a content blocker. Take one extra minute and find out why we block content.
See how we're fighting big data
Not exactly the question you had in mind?
Sign up for an EE membership and get your own personalized solution. With an EE membership, you can ask unlimited troubleshooting, research, or opinion questions.
ask a question
ASKER
Member_2_6492660_1

Works great thanks for the information on robocopy

Teracopy is a great program too but robocopy has the function I require
I started with Experts Exchange in 2004 and it's been a mainstay of my professional computing life since. It helped me launch a career as a programmer / Oracle data analyst
William Peck