What is Nostr?
Felix /
npub1frp…w3mc
2024-06-14 13:57:30

Felix on Nostr: I just lost an entire #script I had written and added to my #git repository not ...

I just lost an entire #script I had written and added to my #git repository not realising that I was in #rebase mode and did a `git rebase --abort`. I didn't appear in `git reflog`, simply lost.

`sudo grep -ab "someurl.project" /dev/mapper/data` gave me the offset and `sudo dd if=/dev/mapper/data bs=1 skip=$((1462413094-2000)) count=5000` gave me the files content.

#linux #dd #grep #forensics
Author Public Key
npub1frplwswuvchp0fxa973fgahv56gv4ef4urweeu0qadhft5u062xsg5w3mc