Recovering text files with grep
While I was updating my resume, I deleted the library which generates the pdf version. To my surprise, the file extension was within .gitignore
scope, so the file was not commited and I've lost a day of work. I've explored some ways to recover files, such as scalpel and foremost, but none of them worked. After losing the hope, I was amazed to find out that grep
could help me!