[rescue] Doh!

Dave McGuire mcguire at neurotica.com
Wed Oct 9 03:48:35 CDT 2002


On Wednesday, October 9, 2002, at 04:36 AM, Walter Belgers wrote:
>>    You really want to use a tar pipeline for stuff like that
>> anyway...much safer than cp.
>>
>> # cd <src>
>> # tar -cf - . | (cd /<dest>; tar -xvBpf -)
>
> You really really want a cpio.
>
> # cd <src>
> # find . -depth | cpio -pdmV <dest>
>
> Tar may have problems with devices, named pipes etc.

   I haven't seen a tar with such problems in many, many years.  Did you 
have a specific one in mind?

       -Dave

--
Dave McGuire          "PC users only know two 'solutions'...
St. Petersburg, FL       reboot and upgrade."    -Jonathan Patschke



More information about the rescue mailing list