• Fennek@feddit.org
    link
    fedilink
    arrow-up
    3
    ·
    edit-2
    4 months ago

    I try to just always put files names or paths into quotes in CLI or tie it to a variable in programming. This way it also accepts spaces and knows how to separate it from arguments.

    • aulin@lemmy.world
      link
      fedilink
      arrow-up
      1
      ·
      4 months ago

      Yeah. It’s a good idea to guard against it, but I would still never put spaces in filesnames that I myself choose.