0

I mistakenly run rm -rf on a wrong folder and than cancel the operation after two seconds. The folder is quite big with many subfolders and maybe 1% was deleted.

How can I know what subfolders rm attempted to delete first? That can help me to determine what files I need to restore.

An Dorfer
  • 1,178
  • 2
  • 8
  • 14
user2783132
  • 1,797
  • 3
  • 16
  • 22
  • This does not answer your question, but might help you somehow: http://superuser.com/questions/150027/how-to-recover-a-removed-file-under-linux (How to recover a removed file under Linux?) – douglaslps Oct 31 '13 at 13:07

1 Answers1

-1

Won't be easy to restore names of already removed directories, but executing ls -l * probably will give a clue how shell expanded * wildcard.