LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Why this rsync command does not work (https://www.linuxquestions.org/questions/linux-newbie-8/why-this-rsync-command-does-not-work-4175575927/)

AdultFoundry 03-26-2016 05:18 PM

Why this rsync command does not work
 
I have Cygwin installed on Windows 7. I am trying to download a folder from a remote Linux server to the Windows machine. The auhtorization is through a key pair, and I was already able to log in to the remote system from this Cygwin program / machine.

I run something like this and it seems like cant get it to work for some reason:

rsync --dry-run -azvh -e 'ssh -p 54321' /home/01/backup-folder/domain.com user@123.45.321.001:/home/www/html/domain.com

I've ben trying to add trainling slashes after the "domain.com", one or both instances, and this does not work too. I get something like this in Cygwin:

sending incremental file list
./

sent 50 bytes received 18 bytes 1.49 bytes/sec
total size is 0 speedup is 0.00 (DRY RUN)

The folder that I am trying to download is around 67GB in size.

AdultFoundry 03-26-2016 05:53 PM

This is already solved. Source first, destination second. Trailing slas at the end of source also, to indicate that I need the contents of this folder.


All times are GMT -5. The time now is 02:47 AM.