+ Post New Thread
Results 1 to 3 of 3
Windows Server 2008 Thread, Robocopy - Will it delete files in destination by default? in Technical; I'm currently running a basic robocopy backup to an external drive. robocopy C:\STUFF\ E:\STUFF1 /e robocopy C:\STUFF2\ E:\STUFF2 /e robocopy ...
  1. #1

    Join Date
    Feb 2013
    Location
    Liverpool
    Posts
    27
    Thank Post
    1
    Thanked 0 Times in 0 Posts
    Rep Power
    0

    Robocopy - Will it delete files in destination by default?

    I'm currently running a basic robocopy backup to an external drive.

    robocopy C:\STUFF\ E:\STUFF1 /e


    robocopy C:\STUFF2\ E:\STUFF2 /e


    robocopy C:\STUFF3 E:\STUFF3 /e
    Now, if something is deleted in the source (C:\) will robocopy delete in the desination by default?? (E:\)


    Thanks

  2. #2
    Valyyn's Avatar
    Join Date
    Jun 2011
    Location
    Portsmouth
    Posts
    202
    Thank Post
    21
    Thanked 62 Times in 44 Posts
    Rep Power
    54
    It's been a while since I've used it, but I don't think it will delete files that no longer exist in the source unless you use the /PURGE switch.

    Edit: looking at robocopy /? I think that's right:
    /PURGE :: delete dest files/dirs that no longer exist in source.
    But maybe test it on a non-important file first, just in case
    Last edited by Valyyn; 2nd May 2013 at 09:50 AM.

  3. #3

    jinnantonnixx's Avatar
    Join Date
    Mar 2011
    Location
    In the Calamatorium.
    Posts
    1,954
    Thank Post
    109
    Thanked 482 Times in 331 Posts
    Blog Entries
    2
    Rep Power
    281
    No, not by default. To delete files in the target, use Purge as Valyn suggests, or the /MIR switch.

SHARE:
+ Post New Thread

Similar Threads

  1. Automatically open .flp files with ActivInspire in XP by default?
    By DoctorB in forum Promethean Direct Support
    Replies: 3
    Last Post: 7th March 2011, 09:55 AM
  2. Delete files in My Music and My Pictures
    By fiza in forum Windows
    Replies: 3
    Last Post: 15th November 2010, 01:12 PM
  3. Replies: 1
    Last Post: 22nd October 2008, 11:08 AM
  4. Replies: 2
    Last Post: 20th August 2007, 09:52 AM
  5. Replies: 3
    Last Post: 25th September 2006, 12:27 PM

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •