Maintaining copies of files

Hi Experts,
We have a script (based on xcopy in Win2003 server) that copies all new or changed files on one drive to a "backup" drive. Can anyone suggest a way to make a script that can be run from the command line to see if a file was deleted from the original drive and then delete it from the "backup" drive?
The concept is simple enough but I can't quite get how to do it.
Perhaps an if exist and then write the filenames into a list, then delete the list?

I have NO understanding of VB, so that's no help to me, but I can follow a shell script.

Who is Participating?
jhyieslaConnect With a Mentor Commented:
If there's no script available, take a look at ViceVersa:

We use it to copy over large amounts of data between two NAS boxes and one nice feature is that if a file is deleted from the source box, on the next copy it also gets deleted from the destination box.
ChrisHelveyAuthor Commented:
Perfect. Thanks a lot.
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.