View Single Post
  #167  
Old December 20th 17, 11:38 PM posted to comp.sys.mac.apps,alt.windows7.general,comp.sys.mac.system
nospam
external usenet poster
 
Posts: 4,718
Default Can a Macintosh person tell us how to change the name of a file?

In article , Lewis
wrote:


There's actually some trickery going on here. Mac OS X "allows" slashes
in file names, but they are actually represented internally as colons.


No, you have that wrong.

the Path Separator on HFS and HFS+ is the ':' and has been forever.


that's what he said.

Any colons in a filename are displayed as slashes by the Finder (but not
the terminal), and the Finder won't allow you to use a colon in a
filename.


No, any slashes in a filename are represented to the unix layer as
colons.


that's what he said.

This bit of oddness results from the switch from the switch from classic
Mac OS to Mac OS X. Classic used colons as path separators and thus
allowed slashes but not colons in filenames. When OS X was introduced,
they opted to maintain the illusion that the allowable characters had
remained the same.


Nope. You have the details entirely wrong.


he has it right.
Ads