
What do you use to mirror files to your network drive? Let us know in the comments! But it could be as simple as running multiple Robocopy commands (one for each folder pair to keep in sync). If you have multiple directories, things can get a little more complex. Usually, I sync right away whenever I do an import, but if I forget, it runs once a day at 5 AM (which is about 15 minutes before I sit down at my computer first thing in the morning).Īlso, this will work much better for you if you use one directory for your photos and videos. And it seems to be considerably faster than SyncToy. It keeps my files in sync so they are available to all the devices on my network. Overall, Robocopy has been working well for me. My entire batch file looks like this: robocopy "E:\Storage\Photos and Videos" "Z:\photos and videos" /MIR /Z /LOG:mirror.log Conclusion I save the log in my Dropbox folder, so I can view it from my phone or another computer to see if the transfer occurred. This is handy when the transfer runs automatically when I’m away, so I can go back and view it.

This writes the status of the transfer to a log file, rather than displaying it in the command prompt. But with network drives, it does slow things down a bit.
FREEFILESYNC BATCH MOVIE
With large movie files, this may come in handy. This enables Restart mode, which lets you resume a large transfer if it’s been interrupted. There are two other switches I use with my Robocopy mirror batch file. Just sub out the wake.bat and sleep.bat for mirror.bat.

FREEFILESYNC BATCH HOW TO
similar to my earlier tip on how to automatically wake and sleep your computer using Windows Task Scheduler. With a batch file, you can also automate it to run once a week, daily, etc. Then, all you have to do is double-click it to run it. To save yourself the trouble of typing that in each time you import photos to your library, you can copy and paste the command into Notepad and save it with the. Only 1 directory was copied because the other directory was the root, which already existed. Here, you’ll see that 2 files were copied and 1 was deleted because it didn’t exist in the source directory. Afterward, you’ll get a summary of the files transferred. The progress of the file copy will be shown in the command window. Simply type the above command into cmd.exe to make it happen. MIR also overwrites the directory security settings (unlike /e) if the directory already exists. MIR is a combination of the /e and /purge switches, which, collectively, copy all subdirectories (including empty subdirectories) and delete files and directories that no longer exist in the source directory. Note that you’ll have to wrap it in quotes if there are spaces in the folder path.

Replace source_directory and target_directory with the appropriate folder paths. Robocopy source_directory target_directory /MIR To mirror a folder to another folder (in my case, the folder on my network drive), use the following switches: Aside from not working particularly well, FreeFileSync came bundled with some nasty adware toolbar that was an absolute pain to uninstall. Note: It’s important to note that I tried FreeFileSync as an alternative to SyncToy.
