Although I use dedicated backup software, I've found Create Synchronicity useful for ad-hoc synchronization like maintaining a mirror of my music library on an external hard drive. I recently modified Create Synchronicity's source code to add some new features to make it even more useful.
Adding a Context Menu
After selecting item(s) in the Preview list, right-click to show my new context menu.
- Show Differences...
- Highlights differences between the files, using winmerge.exe or other diff/merge software.
- Copy Source to Destination...
- Selectively sync only the files that are highlighted, after showing a preview.
- Copy Destination to Source...
- "Reverse sync" (from destination to source) the files that are highlighted, after showing a preview.
- Keep Source and Destination...
- In some cases, you want to keep both the source version of the file and the destination version of the file. In order to do this, "Keep Source and Destination" appends a timestamp to the destination filename and copies the file to both locations, after showing a preview.
Additional settingsTo turn on these settings, press Ctrl+Alt+E to enable "expert" features. From now on, the Settings page will show this menu in the bottom left:
- Check for newly added contents before deleting folders
- Time can pass between the user running Preview and Sync. New files added during this window can be potentially deleted if the parent directory is marked for deletion in the Preview. Turn on this check to eliminate the race condition.
- Show yellow icon if destination is newer
- When in "strict mirror" mode, show a yellow icon for files where the destination (about to be overwritten) is more recent than the source.
- Potential speedup when MD5 and compare file size are enabled
- Reordered code to reduce the number of checksums needed.
- Low level tests cover every branch of newly added functions, every combination of file/folder, create/update/delete. Component tests write to a temp directory and verify all directories, file contents written as expected.