{"action":"created","issue":{"url":"https://api.github.com/repos/ben-z/Silent-Sync/issues/5","labels_url":"https://api.github.com/repos/ben-z/Silent-Sync/issues/5/labels{/name}","comments_url":"https://api.github.com/repos/ben-z/Silent-Sync/issues/5/comments","events_url":"https://api.github.com/repos/ben-z/Silent-Sync/issues/5/events","html_url":"https://github.com/ben-z/Silent-Sync/issues/5","id":68280009,"number":5,"title":"Windows Support","user":{"login":"ben-z","id":5977478,"avatar_url":"https://avatars.githubusercontent.com/u/5977478?v=3","gravatar_id":"","url":"https://api.github.com/users/ben-z","html_url":"https://github.com/ben-z","followers_url":"https://api.github.com/users/ben-z/followers","following_url":"https://api.github.com/users/ben-z/following{/other_user}","gists_url":"https://api.github.com/users/ben-z/gists{/gist_id}","starred_url":"https://api.github.com/users/ben-z/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ben-z/subscriptions","organizations_url":"https://api.github.com/users/ben-z/orgs","repos_url":"https://api.github.com/users/ben-z/repos","events_url":"https://api.github.com/users/ben-z/events{/privacy}","received_events_url":"https://api.github.com/users/ben-z/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/ben-z/Silent-Sync/labels/help%20wanted","name":"help wanted","color":"159818"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-04-14T06:38:30Z","updated_at":"2015-11-04T22:53:35Z","closed_at":null,"body":"Haven't been able to work on this plugin these few weeks. After a bit of searching around, a node wrapper for [RoboCopy](https://technet.microsoft.com/en-ca/library/cc733145.aspx) might be something worth looking into. It would make a good starting point for Silent Sync's windows support.\r\n\r\nAny contributions are appreciated :+1: "},"comment":{"url":"https://api.github.com/repos/ben-z/Silent-Sync/issues/comments/153895495","html_url":"https://github.com/ben-z/Silent-Sync/issues/5#issuecomment-153895495","issue_url":"https://api.github.com/repos/ben-z/Silent-Sync/issues/5","id":153895495,"user":{"login":"nathanprat","id":1504071,"avatar_url":"https://avatars.githubusercontent.com/u/1504071?v=3","gravatar_id":"","url":"https://api.github.com/users/nathanprat","html_url":"https://github.com/nathanprat","followers_url":"https://api.github.com/users/nathanprat/followers","following_url":"https://api.github.com/users/nathanprat/following{/other_user}","gists_url":"https://api.github.com/users/nathanprat/gists{/gist_id}","starred_url":"https://api.github.com/users/nathanprat/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nathanprat/subscriptions","organizations_url":"https://api.github.com/users/nathanprat/orgs","repos_url":"https://api.github.com/users/nathanprat/repos","events_url":"https://api.github.com/users/nathanprat/events{/privacy}","received_events_url":"https://api.github.com/users/nathanprat/received_events","type":"User","site_admin":false},"created_at":"2015-11-04T22:53:35Z","updated_at":"2015-11-04T22:53:35Z","body":"I tried node-rsync on Windows, with MSYS2 and it's working.  \r\nI tried with that command(in node.js):\r\n```\r\n  var rsync = new Rsync()\r\n  .shell('W:\\\\path\\\\msys64\\\\usr\\\\bin\\\\ssh.exe -p 9999')\r\n  .flags('avz')\r\n  .source('.')\r\n  .destination('user@test.fr:/home/user/test')\r\n  .executable('W:\\\\path\\\\msys64\\\\usr\\\\bin\\\\rsync.exe');\r\n```\r\nSo I guess we simply need to add two config options : `@config.pathtoRsync` and `@config.pathtoSSH`, defaulted to `rsync` and `ssh` so that would work on Linux. \r\nOr even better, deduce one from the other, because they probably are in the same place by default.  \r\nAlso, not completely related but the authentication by public key is working fine, except it is not possible to use a passphrase(tested with an ed25519 key).\r\n"}}