Site Tools


Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
windows:rsync [2020-05-12] – ↷ Page moved from rsync to windows:rsync dcaiwindows:rsync [2020-05-12] (current) dcai
Line 1: Line 1:
 +====== use rsync in windows ======
  
 +
 +==== Windows version ====
 +
 +Windows paths may contain a colon '':'' as a part of drive designation and backslashes (example c:\, g:\). However, in rsync syntax, a colon in a path means searching for a remote host.
 +
 +Solution: use absolute path 'a la unix', replace backslashes (\) with slashes (/) and put ''/cygdrive/'' in front of the drive letter.
 +
 +Example:
 +
 +''C:\WORK\*''
 +-->
 +''/cygdrive/c/work/*''