I’m a complete moron, I should’ve had that backed up and used trash…
I had to learn the hard way lol

  • RenardDesMers@lemmy.ml
    link
    fedilink
    arrow-up
    5
    ·
    1 month ago

    Sorry for your loss. I did something similar recently. A script was creating a “~” folder in my notes folder. I wanted to delete it… Thankfully it stopped at some file it couldn’t remove and my dotfiles are in git.

    • ma1w4re@lemm.ee
      link
      fedilink
      arrow-up
      2
      ·
      edit-2
      1 month ago

      A tip, to delete files that have names similar to variables or other expandables, put the filename in between single ticks like this ‘filename’. Single ticks prevent expansion.