Delete dupe files from source, move only missing across to target in Robocopy

Posted by kurresmack on Super User See other posts from Super User or by kurresmack
Published on 2010-03-19T08:38:24Z Indexed on 2010/03/19 9:01 UTC
Read the original article Hit count: 159

We copied all our files to a new storage server recently. We didn't want to move at the time because we weren't sure if files would get lost.

The problem now is that we have files on both places.

How can we move only the files that do not exist in the target and for those that exist in both places we delete it from the source? It is Windows Server 2008.

© Super User or respective owner

Related posts about robocopy

Related posts about windows-server-2008