Search code examples
mysqllinuxcygwinrsyncfile-transfer

how do I use cygwin to rsync files?


How do I do that? Instructions :)


Solution

  • Well, download cygwin, install all packages. Download unison.

    C:\cygwin\bin\unison-2.32.exe
    -sshcmd=C:\cygwin\bin\ssh.exe /cygdrive/c/users/yourlogin/Desktop/somefolder/ ssh://server.domain.com///dir1/dir2/
    -ignore 'Path */someOtherDir' -ignore 'Name someFile' -owner -group -terse
    -batch