Hacker News new | past | comments | ask | show | jobs | submit login

Mac OS X maps filenames between slash `/` and colon `:` to match with UFS, the colon used to be the path separator on old MacOS, which HFS+ inherited.

Try it:

    $ touch foo:bar
    $ open .
    # Look at the filename in Finder.
    # Try it the other way around by saving a file
    # with / in TextEdit, then ls in Terminal.
[0]: https://stackoverflow.com/questions/13298434/colon-appears-a...



Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: