• aleq@lemmy.world
    link
    fedilink
    arrow-up
    127
    arrow-down
    7
    ·
    1 年前

    Reasonable and sane behavior of cd. Just get into the habit of always using lower case names for files and directories, that’s how our forefathers did it.

    • drolex@sopuli.xyz
      link
      fedilink
      arrow-up
      90
      ·
      1 年前

      Yes, but this is the default on many distros, so for once the end user is not to blame

    • Honytawk@lemmy.zip
      link
      fedilink
      arrow-up
      8
      arrow-down
      2
      ·
      1 年前

      Lower case directories?

      Eww

      ILikeMineInAWayICanReadThemProperly, instead of ilikemineinawayicanreadthemproperly

      • aleq@lemmy.world
        link
        fedilink
        arrow-up
        14
        ·
        1 年前

        If a directory has multiple words in it I usually do kebab case: i-like-mine-in-a-way-i-can-read-them-properly. Both easier to read and type than pascal case.

        For more complex filenames I use a combination of kebab-case and snake_case, where the underscore separates portions of the file name and kebab-case the parts of those portions. E.g. movie-title_release-date-or-year_technical-specifications.mp4