Ow Mun Heng wrote:

> Normally when I want to populate a new dir structure (which is empty to
> begin with) I do
> 
> instead of issuing the command 
> cp -a /some/area/mp3 /other/area/mp3-store
> 
> use
>       
> tar lcf - . | (cd /other/area/mp3-store; tar -xpvf - )
> tar lcf - /path/to/file | (cd /other/area/mp3-store; tar -xpvf - )
> 
> tar -czf - /directory/to/copy | ssh systemB tar -xzvf - -C /tmp
> 

Thanks, that clarifies it for me.  I wasn't aware that cp and rsync were 
inferior to tar in this respect but I suppose a simple benchmark would prove it.

Zac
-- 
[email protected] mailing list

Reply via email to