Synchronisierungs-Tool von Microsoft
Björn hat in einem Blog-Eintrag das SyncToy von Microsoft erwähnt. Ich hab das Ding mal ausprobiert und muss sagen: Ist ganz cool 😉
SyncToy besitzt drei verschiedene Modi zum Synchronisieren von Ordnern.
Hier die Feature-Liste von Microsoft:
# Dynamic Drive Letter Assignment: Drive letter reassignment will now be detected and updated in the folder pair definition.
# True Folder Sync: Folder creates, renames and deletes are now synchronized for all SyncToy actions.
# Exclusion Filtering Based on Name: File exclusion based on name with exact or fuzzy matching.
# Filtering Based on File Attributes: The ability to exclude files based on one or more file attributes (Read-Only, System, Hidden).
# Unattended Folder Pair Execution: Addressed issues related to running scheduled folder pairs while logged off.
# Folder Pairs With Shared Endpoints: Ability for folder pairs associated with the same or different instances of SyncToy to share end-points.
# Command line enhancements: Added the ability to manage folder pairs via the command line interface.
# Re-Architect Sync Engine: The SyncToy engine has been rearchitected to provide scalability and the ability to add significant enhancements in future releases.
# Sync engine is also more robust insomuch that many single, file level errors are skipped without affecting the entire sync operation.
# Sync Encrypted Files: Sync of Encrypted files works when local folder and files are encrypted, which addresses the common scenario involving sync between local, encrypted laptop PC folder and remote, unencrypted desktop PC folder.
# 64-Bit Support: SyncToy now has a native 64-bit build (x64 only) for 64-bit versions of Windows.
# Folder pair rename
# Sub-folder Exclusion Enhancements: Descendents created under excluded sub-folders are automatically excluded. Usability improvements for the sub-folder exclusion dialog.
# Folder Pair Metadata Moved: Folder pair metadata removed from MyDocuments to resolve any issues with server-based folder pair re-direction setup.
# Setup Improvements: Integrated setup with single self-extracting archive file and no extra downloads if you already have .NET Framework 2.0 installed. Enabled silent install for the SyncToy Installer file (see readme.txt file for more information). Removed combine and subscribe actions.
# Removed combine and subscribe action
Edith: SyncToy lässt sich auch von der Kommandozeile aufrufen, hier der Eintrag aus der Dokumentation:
SyncToy can be run from the command line to provide support for scheduling or automating folder pair execution. The command line executable by default is located at: [System Drive]Program FilesSyncToy 2.0SyncToyCmd.exe.
The parameters provided by this command line interface are described below:
-R Run all folder pairs that are marked as Active For Run All.
-R [Name] Run the named folder pair (only one folder pair can be specified).
SyncToyCmd -R MyFolderPair
It is also possible to manage folder pairs from the command line. Note: Folder pairs are managed through SyncToy.exe whereas scheduling is performed through SyncToyCmd.exe as described above.
SyncToy does not support running multiple copies of SyncToy.exe at the same time. If SyncToy is already running in in the Task Bar, and a second instance of SyncToy.exe is launched with or without any command line parameters, it will simply bring the already running instance into focus and no errors will be reported.
The parameters associated with SyncToy.exe are described below:
-d(left=, right=, name=,operation=Synchronize|Echo|Contribute, [check=yes|no], excluded=,included=) Creates a new folder pair with the specified options:
left – mandatory, provide absolute path for left folder
right – mandatory, provide absolute path for right folder
name – mandatory, provide name of folder pair
operation – mandatory, specifiy action type for this folder pair
check – optional, specify whether file contents should be checked for file matching, default is no
excluded – optional, specifies exclude filter for files, defaults to none
included – optional, specifies include filter for files, defaults to all
-u Delete one or more folder pairs, no user data will be deleted
-? Display Help
SyncToy -d(left=e:,right=c:Pictures, name=MyPictures,operation=contribute)