New
#51
Robocopy is part of Windows.
Member PParks uses it as follows, via a batch file.
The syntax listed can be easily modified to fit your folder structure/paths.
All you have to do is create a .bat file on your hard drive. Put the following syntax into the file
C:\windows\system32\robocopy D:\data I:\backups\data /E /MIR
C:\windows\system32\robocopy D:\music I:\backups\music /E /MIR
C:\windows\system32\robocopy D:\movies I:\backups\movies /E /MIR
C:\windows\system32\robocopy D:\pix I:\backups\pix /E /MIR
The /E includes directories that are empty.
The /MIR tells it to mirror the source and the destination. Hence, if you delete the file from D:\data, it will remove it from the I:\backups\data folder as well.
Robocopy only gets changes...so the first run takes awhile, and subsequent runs are fast..as it's only files which have changed.