So I was trotting along happily in my terminal and unwittingly let slip this little oopsy daisy…
sudo mv /* /opt/eclipse
…while trying to install a plugin from my current directory to my eclipse installation directory. Obviously, what I meant to do was mv ./* … but that’s
besides the point now.
It gave me some nasty hardrive error messages which I, in my panic, failed
to write down. Does anyone here know what the expected behaviour of this would do
to my filesystem? Is it irreparable, or do I at least have a hope of saving my
home folder?
> sudo mv /* /opt/eclipse
>
> …while trying to install a plugin from my current directory to my
> eclipse installation directory. Obviously, what I meant to do was mv ./*
> … but that’s
> besides the point now.
I don’t think you lost anything, just that it is on a different place.
Probably your system is not operable, so you’ll need to boot a live system
on cd or another partition, and move back the files, manually. I would use
the text mode file browser “mc”, midnight commander, and look in
“/opt/eclipse”.
–
Cheers / Saludos,
Carlos E. R.
(from 11.2 x86_64 “Emerald” at Telcontar)