[H-GEN] I'm stumped.......

A Bruce In The Land Of The Bruces brucec at humbug.org.au
Fri May 22 23:43:49 EDT 1998


On Fri, 22 May 1998, Craig Eldershaw wrote:
> >> tar -cf - /source | tar -xf - /dest
> That should have been:
> tar -cf - /source | (cd /dest ; tar -xf -)

tar -cf - -C /source . | tar -xf - -C /dest

This can be extended to do transfers over a network eg:

tar -cf - -C /source . | ssh -C user at remote tar -xf - -C /dest

> >i weas going to mention this option, but as I have never done it myself
> >felt I would leave it to an expert ;)
> 
> I should have done the same...oh well the priciple was right. :-(

mainly right ;)

--==--
Bruce.


----------------------- HUMBUG General List --------------------------------
echo "unsubscribe general" | mail majordomo at humbug.org.au # To Unsubscribe



More information about the General mailing list