[Gllug] migrating install to larger hd

Christian Smith csmith at micromuse.com
Wed Jun 2 11:24:36 UTC 2004


On Wed, 2 Jun 2004, Richard Jones wrote:

>On Wed, Jun 02, 2004 at 12:10:56PM +0100, Tethys wrote:
>> 		cd "$fs" && tar cvlpf - . | (cd "/mnt/newdisk$fs" && tar xlpf -)
>
>Yeah, Tet is right.  The 'cd' is necessary here.  It's been a while
>since I actually copied stuff from one disk to another ...

Or use cpio in copy-pass mode:
# find $fs -xdev | cpio -pvdu /mnt/$fs


>
>Rich.
>
>

-- 
    /"\
    \ /    ASCII RIBBON CAMPAIGN - AGAINST HTML MAIL
     X                           - AGAINST MS ATTACHMENTS
    / \
-- 
Gllug mailing list  -  Gllug at gllug.org.uk
http://lists.gllug.org.uk/mailman/listinfo/gllug




More information about the GLLUG mailing list