Bill Jonas on Mon, 2 Apr 2001 17:10:14 -0400 |
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 -) (You don't want to get /proc, either.) Or specify which directories you want (I'm going by the list of errors you got): (cd / && tar cf - admin bin boot c d dev etc home lib lost+found misc net opt plugins proc root sbin sview test.test tmp usr ut.tar.gz utmp.dpfs var) | (cd /mnt && tar xvfp -) -- Bill Jonas * bill@billjonas.com * http://www.billjonas.com/ "As we enjoy great advantages from the inventions of others, we should be glad of an opportunity to serve others by any invention of ours; and this we should do freely and generously." -- Benjamin Franklin ______________________________________________________________________ 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
|
|