[Sussex] Mail for Nik

Richie Jarvis richie at helkit.com
Tue Apr 12 12:35:32 UTC 2005


steve at dobson.org wrote:
> Richie
> 
> On Tue, Apr 12, 2005 at 01:25:52PM +0100, Richie Jarvis wrote:
> 
>>Been trying to remember that nice tar statement you advocated at the 
>>last moot to copy dirs over - can you send it to me please?
> 
> 
> He didn't get it right on the slide, IIRC, but here is my version that
> works:
> 
>   (cd <src-dir> && tar cf - .) | (cd <dst-dir> && tar xcf -)
>  
> Steve
Ok - but the last 'c' should be a 'v'

Fixed it should be:

(cd <src-dir> && tar cf - .) | (cd <dst-dir> && tar xvf -)

Thanks - my server is copying now :)

Cheers,

Richie




More information about the Sussex mailing list