+ 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
    204
    Thank Post
    22
    Thanked 63 Times in 45 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 10:50 AM.

  3. #3

    jinnantonnixx's Avatar
    Join Date
    Mar 2011
    Location
    In the Calamatorium.
    Posts
    2,028
    Thank Post
    120
    Thanked 513 Times in 347 Posts
    Blog Entries
    2
    Rep Power
    288
    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, 10:55 AM
  2. Delete files in My Music and My Pictures
    By fiza in forum Windows
    Replies: 3
    Last Post: 15th November 2010, 02:12 PM
  3. Replies: 1
    Last Post: 22nd October 2008, 12:08 PM
  4. Replies: 2
    Last Post: 20th August 2007, 10:52 AM
  5. Replies: 3
    Last Post: 25th September 2006, 01: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
  •