tar -zxvf changed my /usr/local - directory to a file.
how can i change it back?
\
*martin
I had weird things happening using tar -z.
Don’t know what is wrong with it, but good old ‘gzip -cd archive | tar
-xvf -’ works fine always.
dfkt wrote:
tar -zxvf changed my /usr/local - directory to a file.
how can i change it back?
–
*martin
I had this happen a lot as well… /usr, and /usr/lib have both been
shot for me.
I think I’ve figured out a way to get around this, though… (although
this worked for me, it might not work for you).
I tried moving the affected directory to a file, and then, although
the file was created, miraculously, the directory remained and
was restored.
So try:
mv /usr/local /usr/local.tmp
And hopefully this will fix things.
Marc
In article Voyager.001016030449.679979A@administrator, dfkt
<dfkt69@yahoo.com> wrote:
tar -zxvf changed my /usr/local - directory to a file.
how can i change it back?
\*martin