Thanks for your inputs. Surprisingly i tried executing the following command but end up deleting ssh.exe in Cygwin folder when source folder path is incorrect or not reachable.
rsync --remove-source-files -v -av -r /cygdrive/c/AmitTest/ ssh username@destinationserver:/cygdrive/e/AMIT/AmitTest/ I am wondering if remove source is doing some tricks there but unable to find root cause why ssh.exe will get deleted with this command. It has happened twice since yesteday and today i noticed this happened when i executed this command. Any idea why this can be happening? Unfortunately i don't have way to copy ssh to Cygwin\bin folder as i keep getting 'Access Denied' error from windows explorer and cmd (tried taking ownership of Cygwin folder as well). Thanks, Amit -- Sent from: http://samba.2283325.n4.nabble.com/Samba-rsync-f2500462.html -- Please use reply-all for most replies to avoid omitting the mailing list. To unsubscribe or change options: https://lists.samba.org/mailman/listinfo/rsync Before posting, read: http://www.catb.org/~esr/faqs/smart-questions.html