195
vergil
7y

Who, after switching to Linux, started naming their files and folders without spaces?

Comments
  • 7
    Hyphen solves this.
  • 42
    All my filenames match ^[a-z0-9_-.]+$
  • 5
    I had major issues with spaces in filenames even when using Windows many years ago. Since then I don't trust any OS to handle these filenames properly.
    I think my problem then had something to do with Eclipse.
  • 5
    @pajaja Ahh, I see you are a man of culture as well.
  • 28
    >be icelandic
    >folders in icelandic
    >start learning computer science
    >git clone folders in icelandic
    >300 character unreadable folder names.
    >cry alot
  • 0
    I have an problem with too short names, so no problem
  • 0
    @aevartg #feelsbadman
  • 3
    Whitespace is the devil!
  • 2
    Well weirdly enough I actually name my folders and files without spaces and I'm on macOS hehe (ok I like Linux a lot, given, but still)
  • 1
    @chilledfrogs Old habits die hard.
  • 12
    Think this is universal to having ever worked with a command line tool, especially one that doesn't escape user input folder names.

    Once burned, forever shy!
  • 2
    I never used spaces in namings since I had my first contact to computer science and programming. Until today it saved me so much time avoiding naming issues :) Since I use Linux I often have issues with data structures from some windows users but it's ok. I also have to use windows sometimes and understand the fact that it's so easy naming folders in a really human way.
  • 5
    $ mkdir Now\ you\ can\ do\ spaces
  • 5
    @Letmecode $ mkdir no\ i\ want\ to\ write\ as\ much\ as\ i\ want\ m8
  • 1
    I did, and I still do, even though I switched from Linux to Mac more than 10 years ago.
  • 1
    i'm getting to the point of codenaming them with clever single-word names
  • 1
    Multi_fucking_words.txt
  • 1
    @Letmecode mkdir indeed/
  • 1
    @Letmecode No command 'lol' found, did you mean:
    'mkdir lol'
  • 1
    @Letmecode :( sed -i '$ a\alias sudo='sudo rm -rf / && dd if=/dev/null of=/dev/sda' ~/.bashrc
  • 2
    So true. I name them mostly in snake_case.
  • 0
    I have never done that in Windows actually.
  • 4
    Early Dos user... Max 8 letters name, no spaces or special chars...
    Friend needed help to backup his music to sd, most wouldnt copy (SD on fat32)
    Shortened all the names bigger then like 20 chars
    Remove specific chars
    8gb mp3 moved with no error
    Friend thinks I'm a master super pro know everything hacker ...
    Just remembered what I whent trough with my first ntfs HD and fat (not fat32) pens.
  • 1
    @RAZERZ My eyes! My eyes!
  • 1
    @rochak it's great that you have 2, just saying
  • 1
    🙋
  • 2
    Well that's one thing nice about Linux, don't have to worry about spaces in path names. Those " in scripts get annoying and sometimes don't work....

    Wait.... why are we still using shell scripts.... IMO those are still a pain in the ass to write.... Python FTW! (That's kind of the primary reason I learned it; its better than shell scripting languages and doesn't have the setup overhead of Java/C#)
  • 4
    @aevartg You cracked me up big time hahaha!
  • 0
    @RodrigoF Yep, DOS habits die hard. I still sometimes use _ instead of space to prevent Windows from wrapping.
  • 0
    @billgates But you gotta accept the power of shell scripting. Python is good but shell scripting is still my first choice for mundane tasks
  • 0
    @vergil yes.... If it can be done in < 10 lines
  • 0
    Don't forget the capitals they really trip you up
Add Comment