• Johanno@feddit.org
    link
    fedilink
    arrow-up
    2
    ·
    11 days ago

    Or was it non preserve. I never tried it though. I guess a vm should be fine to test it. On the other hand I don’t care enough.

    • DefederateLemmyMl@feddit.nl
      link
      fedilink
      English
      arrow-up
      2
      ·
      edit-2
      11 days ago

      The flag is called --no-preserve-root, but the flag wouldn’t do anything here because you’re not deleting root (/), you’re deleting all non-hidden files and directories under root (/*), and rm will just let you do it.

    • L3ft_F13ld!
      link
      fedilink
      arrow-up
      1
      ·
      11 days ago

      Pretty sure it’s --no-preserve-root or something similar.