• Rubanski
    link
    fedilink
    arrow-up
    30
    ·
    2 months ago

    I still use underscores for filenames, basically muscle memory at this point

    • aulin@lemmy.world
      link
      fedilink
      arrow-up
      12
      ·
      2 months ago

      Spaces in file names will always be fiddly though. It’ll work, but it’ll still be wrong, because arguments are space separated, and having spaced file names totally messes with that.

      • Fennek@feddit.org
        link
        fedilink
        arrow-up
        4
        ·
        edit-2
        2 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
          4
          ·
          2 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.