Review your favorite Linux distribution.
Go Back > Forums > Linux Forums > Linux - General
User Name
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.


  Search this Thread
Old 03-25-2009, 11:49 AM   #1
Registered: Jan 2006
Posts: 50

Rep: Reputation: 15
Question rsync local web folder to remote web folder? Almost working...

Hello gurus,
I'm trying to upload all files and folders in my local web folder (on a Mac), to my remote Linux server www folder. I can connect. It looks like it could work, but I'm getting a skip message with no files being transferred. The line looks like this:

rsync -e "ssh -i /Users/me/Documents/key.key" /Users/me/Documents/coolwebsite/web/ root@
This is the message I get:

skipping directory /Users/me/Documents/coolwebsite/web/.
How do I correct this? I don't want it to skip! Thank you for your assistance in advance.
Old 03-25-2009, 11:54 AM   #2
Registered: Jan 2006
Posts: 50

Original Poster
Rep: Reputation: 15
Ah I got it! I just needed to add an -r after rsync. Have a very fantastic day.
Old 03-25-2009, 02:49 PM   #3
Senior Member
Registered: May 2006
Location: USA
Distribution: Debian
Posts: 4,797

Rep: Reputation: 602Reputation: 602Reputation: 602Reputation: 602Reputation: 602Reputation: 602
I'd use -a for archiving, which includes -r.


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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 On
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
save web page results in a file and a folder. Whats the folder for? geeyathink General 2 01-30-2008 06:57 AM
backing up remote folder with rsync and ssh ohcarol Linux - Software 6 01-03-2005 12:43 AM
help on web folder script evilchild Programming 1 11-22-2003 07:40 AM
Remote Mounting? (Mount remote folder on local filesystem) mac_phil Linux - Networking 1 11-15-2003 03:48 PM
mount web folder? keithturner Linux - Newbie 8 01-24-2003 07:09 PM

All times are GMT -5. The time now is 09:29 AM.

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