LinuxQuestions.org
Did you know LQ has a Linux Hardware Compatibility List?
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
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.

Notices

Reply
 
LinkBack Search this Thread
Old 12-10-2008, 09:14 AM   #1
carlosinfl
Senior Member
 
Registered: May 2004
Location: Orlando, FL
Distribution: Debian
Posts: 2,895

Rep: Reputation: 73
Rsync Command Skips Directories?


I am trying to use Rsync to copy an entire directory from my PC to a server on the same LAN and for some reason my command is not working.

Code:
/usr/bin/rsync -vv -e ssh /media/usb/fback/it/* root@fback:/it/
I am copying the contents of everything in the 'it' folder on my external usb drive to the remote 'fback' server under the same directory name. The folder does exist on the remote server.

Here is what I get:

Code:
opening connection using: ssh -l root fback rsync --server -vve.L . /it/ 
root@fback's password: 
skipping directory carlos
skipping directory jason
skipping directory mike
skipping directory movies
skipping directory symantec_10.1.7
delta-transmission enabled
total: matches=0  hash_hits=0  false_alarms=0 data=0

sent 8 bytes  received 12 bytes  4.44 bytes/sec
total size is 0  speedup is 0.00
What am I doing wrong?
 
Old 12-10-2008, 11:28 AM   #2
AlucardZero
Senior Member
 
Registered: May 2006
Location: USA
Distribution: Debian
Posts: 4,568

Rep: Reputation: 510Reputation: 510Reputation: 510Reputation: 510Reputation: 510Reputation: 510
use -a

and read "man rsync"
 
  


Reply


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
Trackbacks are Off
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
How to exclude specific directories from an rsync backup kaplan71 Linux - Software 2 05-16-2008 12:09 PM
rsync - How to Include Hidden (.something) Files and Directories? edwin11 Linux - Software 4 11-29-2006 07:47 AM
RSYNC Home Directories at Login and Logout rud17100 Linux - Networking 4 09-23-2006 11:36 PM
rsync skips directory when trying to restore weibullguy Linux - General 1 03-24-2006 10:24 PM
how to rsync ex/include select specific directories ? dtimms Linux - Software 1 01-11-2005 05:16 AM


All times are GMT -5. The time now is 04:41 AM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration