gabriel rosenkoetter on Mon, 2 Apr 2001 17:50:19 -0400


[Date Prev] [Date Next] [Thread Prev] [Thread Next] [Date Index] [Thread Index]

Re: [PLUG] Using tar to copy disk drives...


On Mon, Apr 02, 2001 at 05:00:32PM -0400, Bill Jonas wrote:
> On Mon, Apr 02, 2001 at 04:36:33PM +0000, qumak wrote:
> > Hey, I know, we've discussed this before, and I'm sorry, but I can't seem to 
> > remember quite how to do it and its giving me some wierd problems...
> 
> http://www.linuxdoc.org/HOWTO/Tips-HOWTO.html -- specifically,
> http://www.linuxdoc.org/HOWTO/Tips-HOWTO-2.html#ss2.6
> 
> In your case, I'd try something like the following:
> (cd / && tar cf - $(ls -1 |egrep -v "mnt|proc") ) | (cd /mnt && tar xvfp -)

Yeesh that's a mess.

Use rsync.

% cd /
% rsync -a [list of directories] /mnt

       ~ g r @ eclipsed.net


______________________________________________________________________
Philadelphia Linux Users Group       -      http://www.phillylinux.org
Announcements-http://lists.phillylinux.org/mail/listinfo/plug-announce
General Discussion  -  http://lists.phillylinux.org/mail/listinfo/plug