Hacker Newsnew | past | comments | ask | show | jobs | submitlogin
How I (almost) fucked up half a day's work (ptilouk.net)
2 points by booteille on Feb 10, 2023 | hide | past | favorite | 1 comment


Tl;dr: Commit your changes or grep your entire disk looking for the stuff you accidentally deleted.

grep -a /dev/disk




Consider applying for YC's Fall 2025 batch! Applications are open till Aug 4

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: