Free Windows Command Line Sync Tool

February 10th, 2009 Category: General

For Windows there is a cute little tool from Microsoft available which can be used to synchronize folders. It is part of the Windows Server 2003 Resource Tool Kit and called “Robocopy”. It is a command line tool which supports UNC path names. So it’s a useful tool to sync folders e.g. to a network storage (NAS).

A simple call to sync a folder to a second local hard disc looks like:

robocopy c:\temp\Privat "e:\backup" /MIR

/MIR mirror a directory tree

If you want to sync to a NAS storage which is not based on a Microsoft Operating System you need to add some further flags:

robocopy c:\temp\Privat "\\ts-101\USB Disk 1\Test" /MIR /Z /A /M

/Z copy files in restartable mode (useful when sync e.g. over DSL connection which may sometimes terminate)

/M copy only files with the Archive attribute set and reset it (needed if you want to sync to a NAS storage which is not based on Microsoft)

/A copy only files with the Archive attribute set (needed if you want to sync to a NAS storage which is not based on Microsoft)

cwindowssystem32cmdexe-10022009-205810.jpg

Obtaining Robocopy

Share and Enjoy:
These icons link to social bookmarking sites where readers can share and discover new web pages.
  • Digg
  • del.icio.us
  • StumbleUpon
  • Reddit
  • Webnews
  • MisterWong
  • Y!GG
  • Facebook
  • Furl
  • Google Bookmarks
  • Live-MSN
  • Readster
  • YahooMyWeb

Related posts:

  1. Automated Windows Backups
  2. Free Defragmentation Tool “Defraggler”
  3. Free TreeSize Tool
  4. Free Hard Disc Benchmark Tool “HD Tach”
  5. Windows 7 Performance Tuning
This entry was posted on Tuesday, February 10th, 2009 and is filed under General. You can follow any responses to this entry through the RSS 2.0 feed. You can leave a response, or trackback from your own site.

Leave a Reply