On Fri, May 20, 2005 at 12:43:19AM +0930, Glen Turner wrote: > su > cd /srv/www > tar cSf - . | ssh [EMAIL PROTECTED] '( cd /srv/www; tar xpf - )'
I always suggest
'(cd /srv/www && tar xpf -)'
for the receiving end.
Note the && instead of ;
So that if /srv/www doesn't exist you won't
put crap all over/destroy /.
Matt
--
SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html
