robocopy sync not working


  • Hi all,

    I want to sync a folder to a subsite on sharepoint online.  

    So I use Robocopy source destination /e /purge /xo. this works.

    But when I run this command again on a later date it overwrites all files again, but the source files didnt change.

    Any idea how this is possible? and a possible work around?

    • Edited by bashr Sunday, February 7, 2016 8:40 PM
    Sunday, February 7, 2016 1:02 PM


  • I know you are asking about robocopy, but have you ever played with this  tool?

    You can also try this if you want to stick with Robocopy.

    robocopy e:\software \\data\backup\software /e /z /fft /purge /r:0 /w:0 /copyall /xo /XF *.lck /TEE /log:c:\log

    I have read that the /fft switch resolves the issue with all of the data being overwritten when copying across to a network drive.

    Please remember to select Mark as Answer if someone provides the answer or mark as helpful if the response helps to lead you in the right direction.

    • Edited by Larry King MCTS Wednesday, February 10, 2016 3:34 PM
    • Marked as answer by bashr Sunday, February 21, 2016 9:31 AM
    Tuesday, February 9, 2016 10:13 PM

All replies