Quick Folder Sync Comparison WIN vs MAC using cmd/term prompt. Shell out ONCE a day! GUI makes u SOFT!

Quick Folder Sync Comparison WIN vs MAC using cmd/term prompt.

Windows CMD Prompt

xcopy "c:\FolderA\*.*" "c:\FolderB\*.*" /s /d /c /y

 

  • /s =SUBS
  • /d=BYDATE
  • /c=Cont if file is locked
  • /y=Replace DestFile

 

 

VS

OSX Term Prompt

rsync  -avxl /volumes/DiskVolume/FolderA/  "/volumes/DiskVolume/FolderB/"

or

rsync -n -avxl /volumes/DiskVolume/FolderA/  "/volumes/DiskVolume/FolderB/"    

-n for dry-run=To see what will be updated

 

  • -n = dry run
  • -a = archive mode
  • -v = verbose
  • -x = don't cross link
  • -l = copy the file not the alias

 

U might have to run the rsync with root privileges to force the sync

sudo rsync  -avxl "/volumes/DiskVolume/FolderA/"  "/volumes/DiskVolume/FolderB/"

 


from geekspeak Blog http://www.jbmga.com/the-blog/2012/8/4/quick-folder-sync-comparison-win-vs-ma...