[oclug] rsync, ssh, and cron

Joe Burpee jeb at burkby.com
Wed Apr 7 15:55:43 EDT 2004

On Wed, Apr 07, 2004 at 15:40:05 -0400, Derek T. Murphy (Home) wrote:
> On Wed, 7 Apr 2004,  [JB]= Joe Burpee wrote:
>  > [JB] I believe rsync -t means "preserve times".  You probably want ssh -t:
>  > [JB]                rsync -e "ssh -t" ...
> Yep, exactly. The "-t" is SUPPOSED to belong to the ssh command...
>  su - dle -c 'rsync -e ssh -t -aqz www.foo.bar:/usr/websites/foo.bar/www
>   /home/dle/projects/foo/
FYI the -e arg has to be all in quotes "ssh -t" as I wrote it.
Otherwise it's still rsync -t.  :-(


More information about the OCLUG mailing list