{"id":488,"date":"2018-02-20T05:11:50","date_gmt":"2018-02-20T05:11:50","guid":{"rendered":"http:\/\/www.codeinsightacademy.com\/blog\/?p=488"},"modified":"2018-02-20T05:11:50","modified_gmt":"2018-02-20T05:11:50","slug":"rsync-on-windows-os","status":"publish","type":"post","link":"https:\/\/codeinsightacademy.com\/blog\/c-programming\/rsync-on-windows-os\/","title":{"rendered":"rsync on windows os"},"content":{"rendered":"<header class=\"entry-header\">\n<h1 class=\"entry-title\">rsync: Failed to exec ssh: No such file or directory(2) on windows<\/h1>\n<\/header>\n<div class=\"entry-content clearfix\">\n<p>nstalling <strong>cwrsync<\/strong>, you are likely to get this error \u00a0when you try to run this sample command from the command line.<\/p>\n<p>rsync \u00a0-avz \u00a0-e \u00a0<strong>ssh<\/strong> ycsoftware@google.com:\/home\/ycsoftware \/cygdrive\/z\/ycsoftware\/<\/p>\n<p>\u201crsync: Failed to exec ssh: No such file or directory(2)\u201d cwrsync<\/p>\n<p>The reason you are getting this is because for some reason rsync is not able to find the path to the ssh.exe file. You should change it to something like this:<\/p>\n<pre>C:\/cygwin64\/bin\/rsync.exe -ar . \/cygdrive\/c\/xampp\/htdocs\/test2\/\r\n\r\nRef: http:\/\/ycsoftware.net\/rsync-failed-to-exec-ssh-no-such-file-or-directory2-on-windows\/<\/pre>\n<\/div>\n","protected":false},"excerpt":{"rendered":"<p>rsync: Failed to exec ssh: No such file or directory(2) on windows nstalling cwrsync, you are likely to get this error \u00a0when you try to run this sample command from the command line. rsync \u00a0-avz \u00a0-e \u00a0ssh ycsoftware@google.com:\/home\/ycsoftware \/cygdrive\/z\/ycsoftware\/ \u201crsync: Failed to exec ssh: No such file or directory(2)\u201d cwrsync The reason you are getting [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":[],"categories":[1],"tags":[],"_links":{"self":[{"href":"https:\/\/codeinsightacademy.com\/blog\/wp-json\/wp\/v2\/posts\/488"}],"collection":[{"href":"https:\/\/codeinsightacademy.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/codeinsightacademy.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/codeinsightacademy.com\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/codeinsightacademy.com\/blog\/wp-json\/wp\/v2\/comments?post=488"}],"version-history":[{"count":1,"href":"https:\/\/codeinsightacademy.com\/blog\/wp-json\/wp\/v2\/posts\/488\/revisions"}],"predecessor-version":[{"id":489,"href":"https:\/\/codeinsightacademy.com\/blog\/wp-json\/wp\/v2\/posts\/488\/revisions\/489"}],"wp:attachment":[{"href":"https:\/\/codeinsightacademy.com\/blog\/wp-json\/wp\/v2\/media?parent=488"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/codeinsightacademy.com\/blog\/wp-json\/wp\/v2\/categories?post=488"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/codeinsightacademy.com\/blog\/wp-json\/wp\/v2\/tags?post=488"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}