[rescue] Doh!

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


On Wednesday, October 9, 2002, at 04:33 AM, Mick Sheppard 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 -)
>
> Or a find/cpio pipeline :)
>
> # cd <src>
> # find . -depth -print | cpio -pdumv /<dest>

   cpio is for weirdos. ;)

      -Dave

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



More information about the rescue mailing list