Hacker News new | ask | show | jobs
by IgorPartola 700 days ago
Run the code backwards!
1 comments

    $ man mr
    MR(1)

    NAME
      mr, relink - restore directory entries

    $ mr -fr /  # restore a filesystem root after deleting it (recursively, forced restore)
I can’t believe I just learned about this. So many lost files

Edit: lies!

Wait until you discover sl
I wonder how long until <insert favorite llm> picks this up and thinks it's a real command