[oclug] rsync, ssh, and cron

Dave Edwards dle at sympatico.ca
Wed Apr 7 15:52:35 EDT 2004


On 2004-04-07 14:46-0400, Joe Burpee wrote:
> On Wed, Apr 07, 2004 at 09:04:26 -0400, Derek T. Murphy (Home) wrote:
> > su - dle -c 'rsync -t -e ssh -aqz www.foo.bar:/usr/websites/foo.bar/www
> > /home/dle/projects/foo/
> > 
> > This attaches a pseudo-terminal to the command. (I suspect there's
> > something in the user's .bashrc that uses escape chars is the problem.)
>  
> I believe rsync -t means "preserve times".  You probably want ssh -t:
>                rsync -e "ssh -t" ...
> 
> You may also be interested in ssh -n (no stdin); and perhaps -i if you
> need to point to an identity with no passphrase, to avoid prompting.

Thanks for the tips, Joe.  However, nothing is working.  I've
concatenated the various email error messages and published them at
http://dle.ascendant.ca/rsync_errors.txt in case you or anyone else
still wants to follow this saga.

Thanks,
Dave.
-- 
Dave Edwards <dleSympaticoCa>
Freelance and Technical Writer,
With Special Interest in Open Source Software
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
Url : http://tux.oclug.on.ca/pipermail/oclug/attachments/20040407/a51ea29f/attachment.bin


More information about the OCLUG mailing list