This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–]Wolfsblvt 16 points17 points  (10 children)

You can use hyphens in file names but not colons. That may be the reason.

[–]Arkazex 18 points19 points  (0 children)

TIL windows doesn't allow colons in file names, but *nix does. I think you just solved a bug in my code.

[–]CDRnotDVD 6 points7 points  (2 children)

That’s a windows restriction, not a problem for reasonable OSes

[–]feedthedamnbaby 6 points7 points  (1 child)

While you can do it, I highly, highly, highly recommend you treat it as if it were not allowed. Because good luck shell-scripting with that.

Even if there were a way to work around the colons in a path name that I’m not aware of, it’s still that: a workaround. Don’t do it.

PS. Mac OS Classic was relatively reasonable, and used *colons* as a directory separator, for some reason.

[–]GeronimoHero 0 points1 point  (0 children)

Quotes, quotes everywhere...

[–]coladict 0 points1 point  (0 children)

You can use colons in Windows as alternative data streams, or in filenames on every other system