Subject: Re: Final question: best wasy to move /, /usr, /home, etc?
From: Gavin Hemphill (hemphill@drea.dnd.ca)
Date: Mon Feb 18 2002 - 13:57:49 MST
That should be
cd oldroot
tar clpf - . | (cd newroot; tar xpf -)
the l says stay in the tree (don't follow any mountpoints)
the p says preserve the permissions etc
Tom Rini wrote:
> On Mon, Feb 18, 2002 at 02:36:01AM +0000, Bastien Nocera wrote:
>
>
> tar -c /{this,this,somethingelse,another} | tar -x -C /newroot
>
> Or so, I think.
>
>
This archive was generated by hypermail 2a24 : Mon Feb 18 2002 - 14:12:53 MST