1

I just typed rm * in the wrong directory by mistake. I had the wrong terminal window highlighted. What are my options?

tadasajon
  • 327

2 Answers2

5

What you can do is re-do the three hours of work, and then think about aliasing your rm command to a script which works like rm but stages deletes through a trash bin directory which must be explicitly emptied before the files are really gone.

Kaz
  • 2,800
  • 1
  • 20
  • 24
0

Do as Paul -R Says, I think if i remember correctly, if write operation has occurred then its not possible to UNDELETE the item....

Maybe you can find more information here.... http://www.computerhope.com/undelete.htm

Zeddy
  • 111