On Wed, 25 Apr 2001, Bob Foster wrote:
>Hello,
>
>I'm trying to set up an rsync that will run without operator intervention.
> I have the daemon running on the receiving server and here is the module:
>
>[test]
>path = /web/test
>comment =  test
>uid = siteadm
>gid = web
>read only = no
>list = yes
>auth users = siteadm
>secrets file = /etc/rsyncd.scrt
>hosts allow = 10.154.33.21 127.0.0.0/8
>
>I use this script "put_rsync" on the sending server:
>
>/usr/local/bin/rsync -auv  --delete --password-file=/dir/.rsync_pw 
>/web/test/$1
> [EMAIL PROTECTED]::test
>
>This works great if I am sending a directory such as /web/test/dir1 with
>the command 
>./put_rsync dir1
>
>However, if I try to send /web/test/dir1/images with the command
>./put_rsync images/dir1
>it rsyncs to /web/test/images on the receiving server instead of
>/web/test/dir1/images
>
>What am I missing?  

try putting a slash at the end of "images"

phma

Reply via email to