I remember back in '99 when Justin Georgeson wrote:
> Thomas Bryan wrote:
> >
> > On Sun, 1 Aug 1999, Justin Georgeson wrote:
> >
> > > I'm thinking something like:
> > >
> > > tar -cvf - / | tar -xvf -
> >
> > That looks right. I just tested it to copy a directory in my home
> > directory, and it worked fine. (Same filesystem, though.)
Note that you should probably do something like:
tar --exclude /proc -cvf - / | tar -xf -
(and this depends on gnu tar's behavior wrt. absolute paths. Traditionally,
if you had done the above command, it would have extracted the files back
to / again, no matter where you executed it from)
> > Generally I wouldn't use the piped tars unless the first tar was tarring
> > files specified by a find. cp -R can't handle such things, IIRC.
> > For your case, cp -R may be sufficient.
not for backing up a filesystem. It will puke on symlinks, ...
Matt
--
/* Matt Sayler -- [EMAIL PROTECTED] -- atwork?astronomy:cs
http://www.cs.utexas.edu/users/mpsayler -- (512)471-7450
Have you ever imagined a world with no hypothetical situations? */
---------------------------------------------------------------------------
Send administrative requests to [EMAIL PROTECTED]