I'm having a bit of a problem using rsync. I'm syncing a set of files  
from a server to my laptop and once in a while in the opposite  
direction. Using rsync works if I'm syncing the laptop with the  
server but for some reason I can't seem to sync the server with the  
laptop properly. Either a new directory is created under the  
directory I'm trying to sync, or a directory is created above the  
directory I'm trying to sync.

All commands are initiated from a bash script on the laptop. To sync  
the laptop with the server I use:
"rsync -rtv --progress --ignore-existing --stats --rsh=/usr/bin/ssh  
192.168.1.51:/home/userName/documents/directory/ /Users/userName/ 
Directory/;;"
to sync the server with the laptop I'm using:
"rsync -rtv --progress --ignore-existing --stats --rsh=/usr/bin/ssh / 
Users/userName/Directory 192.168.1.51:/home/userName/documents/ 
directory/;;"

The laptop is a Mac and both users have the same name. Thanks in  
advance for any help or advice.


------------------------ Yahoo! Groups Sponsor --------------------~--> 
Everything you need is one click away.  Make Yahoo! your home page now.
http://us.click.yahoo.com/AHchtC/4FxNAA/yQLSAA/0XFolB/TM
--------------------------------------------------------------------~-> 

To unsubscribe from this list, please email [EMAIL PROTECTED] & you will be 
removed. 
Yahoo! Groups Links

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/LINUX_Newbies/

<*> To unsubscribe from this group, send an email to:
    [EMAIL PROTECTED]

<*> Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.com/info/terms/
 


Reply via email to