Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people, just like you, are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
Solved

Robocopy to copy just the Changes

Posted on 2013-10-30
3
440 Views
Last Modified: 2013-10-30
Robocopy to copy just the Changes
I ran Robocopy yesterday to copy all folders and files from drive F: to Drive G:
I need today to run Robocopy, to copy just the changes that have occurred on Drive F: to the same location G:
I mean file that have been added /deleted/modified.
What is the full command that can do that , without erasing any folder or files that I copied yesterday?

Thank you
0
Comment
Question by:jskfan
3 Comments
 
LVL 53

Assisted Solution

by:Joe Winograd, EE MVE
Joe Winograd, EE MVE earned 250 total points
ID: 39612016
Perform the same copy as you did yesterday, but put the "eXclude Older" option at the end of the command line:

/XO

This means that if a destination file exists and is the same date or newer than the source file, then don't overwrite it. Regards, Joe
0
 
LVL 13

Accepted Solution

by:
Daniel Helgenberger earned 250 total points
ID: 39612026
You can run the same
robocopy /mir <source> <dest>

Open in new window

This would only copy changes as well as deleting data not in source. This would skip equal files.
If you want to keep data added in destination and you have newer files there, run:
robocopy /xo <source> <dest>

Open in new window

This is like the rsync update, skipping newer files in destination (eXclude older).

If unsure consider using the /L switch, witch lists only.
0
 

Author Closing Comment

by:jskfan
ID: 39612194
I will try it......
Thanks
0

Featured Post

Optimizing Cloud Backup for Low Bandwidth

With cloud storage prices going down a growing number of SMBs start to use it for backup storage. Unfortunately, business data volume rarely fits the average Internet speed. This article provides an overview of main Internet speed challenges and reveals backup best practices.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Today, still in the boom of Apple, PC's and products, nearly 50% of the computer users use Windows as graphical operating systems. If you are among those users who love windows, but are grappling to keep the system's hard drive optimized, then you s…
A procedure for exporting installed hotfix details of remote computers using powershell
This tutorial will show how to configure a new Backup Exec 2012 server and move an existing database to that server with the use of the BEUtility. Install Backup Exec 2012 on the new server and apply all of the latest hotfixes and service packs. The…
This Micro Tutorial will go in depth within Systems and Security in Windows 7 and will go into detail regarding Action Center, Windows Firewall, System, etc. This will be demonstrated using Windows 7 operating system.

840 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question