[Sussex] Mail for Nik

Richie Jarvis richie at helkit.com
Tue Apr 12 13:22:09 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

Incidentally, can you think of a way to do it incrementally?  I.e. I am 
currently copying users home dirs over - but I then want to pickup any 
last-minute changes.

Any thoughts, or do I have to wait until everyone has gone home :(

Cheers,

Richie




More information about the Sussex mailing list