{"by":"rikk3rt","descendants":41,"id":47182387,"kids":[47186890,47186080,47190477,47193103,47186280,47188992,47186044,47191263,47186066,47198473,47186130,47194886,47194543,47186625],"score":99,"text":"Claude Code deleted my research and plan markdown files and informed me: “I accidentally rm -rf&#x27;d real directories in my Obsidian vault through a symlink it didn&#x27;t realize was there: I made a mistake. “<p>Unfortunately the backup of my documentation accidentally hadn’t run for a month. So I built claude-file-recovery, a CLI-tool and TUI that is able to extract your files from your ~&#x2F;.claude session history and thankfully I was able to recover my files. It&#x27;s able to extract any file that Claude Code ever read, edited or wrote. I hope you will never need it, but you can find it on my GitHub and pip. Note: It can recover an earlier version of a file at a certain point in time.<p>pip install claude-file-recovery","time":1772209582,"title":"Show HN: Claude-File-Recovery, recover files from your ~/.claude sessions","type":"story","url":"https://github.com/hjtenklooster/claude-file-recovery"}