On Sun, 1 Aug 1999, Justin Georgeson wrote:

> I want to move my root file system to a different hard drive. I know I can use
> some tweaked tar or dump command to do this. Basically I tar/dump to stdout and
> the untar/restore from stdin, but haven't quite figure out the way to do this.
> I'm thinking something like:
> 
> tar -cvf - / | tar -xvf -
> 

Here is the classic, straight from the Sun OS tar manpage:

   tar cfv - . | (cd todir; tar xfBp -)

(of course you need to run this from the directory you're trying to tar)


---------------------------------------------------------------------------
Send administrative requests to [EMAIL PROTECTED]

Reply via email to