[Sussex] Mail for Nik

steve at dobson.org steve at dobson.org
Tue Apr 12 12:32:09 UTC 2005


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
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: Digital signature
Url : http://mailman.lug.org.uk/pipermail/sussex/attachments/20050412/63e46f99/attachment.pgp 


More information about the Sussex mailing list