We help IT Professionals succeed at work.

We've partnered with Certified Experts, Carl Webster and Richard Faulkner, to bring you two Citrix podcasts. Learn about 2020 trends and get answers to your biggest Citrix questions!Listen Now

x

Maintaining copies of files

Medium Priority
301 Views
Last Modified: 2013-11-10
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.

Thanks.  
Comment
Watch Question

CERTIFIED EXPERT
Commented:
If there's no script available, take a look at ViceVersa:

http://www.tgrmn.com/

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.

Not the solution you were looking for? Getting a personalized solution is easy.

Ask the Experts

Author

Commented:
Perfect. Thanks a lot.
Access more of Experts Exchange with a free account
Thanks for using Experts Exchange.

Create a free account to continue.

Limited access with a free account allows you to:

  • View three pieces of content (articles, solutions, posts, and videos)
  • Ask the experts questions (counted toward content limit)
  • Customize your dashboard and profile

*This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.

OR

Please enter a first name

Please enter a last name

8+ characters (letters, numbers, and a symbol)

By clicking, you agree to the Terms of Use and Privacy Policy.