Re: tar question

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]



On Thursday 07 June 2007, Tom Brown wrote:
> > I believe it goes something like:
> >
> > cd /some/input/dir
> > tar cvf - . | (cd /to/here; tar xvf -)
>
> that is spot on thanks! does it buffer anything in memory do you know or
> any other temp space? Just wonder as there are a few gigs of data.

add a dd command to the pipe if you want buffers.

That said, my personal opinion is that non-trivial data move operations should 
not be done with tools like tar, tools that does not allow restart/resume. 
You mentioned rsync, why not use it.

/Peter

> thanks

Attachment: pgpF07tqKFI6y.pgp
Description: PGP signature

_______________________________________________
CentOS mailing list
CentOS@xxxxxxxxxx
http://lists.centos.org/mailman/listinfo/centos

[Index of Archives]     [CentOS]     [CentOS Announce]     [CentOS Development]     [CentOS ARM Devel]     [CentOS Docs]     [CentOS Virtualization]     [Carrier Grade Linux]     [Linux Media]     [Asterisk]     [DCCP]     [Netdev]     [Xorg]     [Linux USB]
  Powered by Linux