Re: tar question

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



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.

My personal preference is to do something like:

  cd /some/input/dir
  find . -print | cpio -pvm /to/here

or

  cd /some/input/dir
  rsync -av . /to/here

(need to check the cpio options there -- I don't use that form very
often).

James
_______________________________________________
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