2

Please correct me If I'm wrong

Is possible to recover the deleted file if you have inode number of file.

user9517
  • 115,471
  • 20
  • 215
  • 297
Caterpillar
  • 1,132
  • 2
  • 23
  • 47

1 Answers1

5

If the file is held open by another process then you can recover the file by using the inode number.

find /path/to/check -inum 1023564 -exec cp {} recoveredfile \;

If the file not held open by another process then your out of luck with using the inode.

user9517
  • 115,471
  • 20
  • 215
  • 297