Boston Linux & Unix (BLU) Home | Calendar | Mail Lists | List Archives | Desktop SIG | Hardware Hacking SIG
Wiki | Flickr | PicasaWeb | Video | Maps & Directions | Installfests | Keysignings
Linux Cafe | Meeting Notes | Blog | Linux Links | Bling | About BLU

BLU Discuss list archive


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

Weird Files...



jc at trillian.mit.edu wrote:

> But I do note one potential problem:  It doesn't  work  too  well  if
> you're inside the /tmp directory.  There just might be a fix for this
> bug.  Let's see ...
> 
> #!/bin/bash
> d=`pwd`
> cd /
> tar cvf /tmp/blah.tar $d
> cat /tmp/blah.tar | (rm -rf $d; tar xvf - --exclude $1) &
> wait
> 

I hope all of your restore utilities are statically linked, otherwise you're
screwed if you remove anything in /usr, /usr/lib, etc...

Plus you'd want "tar xvpf ..." to get back the permission and owners...
This mechanism is still broken IMHO...



-
Subcription/unsubscription/info requests: send e-mail with
"subscribe", "unsubscribe", or "info" on the first line of the
message body to discuss-request at blu.org (Subject line is ignored).




BLU is a member of BostonUserGroups
BLU is a member of BostonUserGroups
We also thank MIT for the use of their facilities.

Valid HTML 4.01! Valid CSS!



Boston Linux & Unix / webmaster@blu.org