LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 03-26-2016, 05:18 PM   #1
AdultFoundry
Member
 
Registered: Jun 2015
Posts: 282

Rep: Reputation: Disabled
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.
 
Old 03-26-2016, 05:53 PM   #2
AdultFoundry
Member
 
Registered: Jun 2015
Posts: 282

Original Poster
Rep: Reputation: Disabled
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.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] Rsync command to/from CIFS share does not work in cron, works in terminal? rylan76 Linux - Software 3 02-17-2014 02:34 AM
[SOLVED] rsync command does not work figure20012 Linux - Newbie 13 08-01-2012 06:48 AM
rsync problems, can you look at my command? - Rsync gurus. Spuddy Linux - Software 4 09-21-2010 10:25 AM
Cannot get rsync to work mantonr Linux - Server 7 08-08-2008 05:28 PM
How does rsync work? obelxi Linux - General 6 03-07-2005 01:49 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 10:23 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration