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
user2783132
  • 1,967

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.