Bring back deleted files with lsof

09.10.2007 at 22:04

Today i accidentally deleted a PDF file, fortunately the pdf reader was still open and had a reference to the file so i could copy it back from

/proc/<pid-of-pdf-reader>/fd/<num-as-shown-by-lsof>

There is an article on linux.com which explains the procedure if your unfamiliar with it.

Marc

Comments (0)

There are currently no comments available