Dave Carrigan wrote:

That's just the finder being nice to the non-techies. The longer "if you name this with a dot then you'll have to hit a special key combination in order to see it" explanation is more confusing and unnecessary. It certainly doesn't mean that .files are not allowed or are going to become unsupported, at least until Mac OS X is deprecated in favor of some completely different operating system.


And speaking of confusing and unnecessary, it's unclear whether the OP is asking how to name an item so it will be hidden, or how to hide an existing item whose name can't be changed. If it's the former then "start its name with dot" is one possible answer. If it's the latter, then renaming isn't possible, so any debate about renaming it is both confusing and unnecessary.

I suspect it may be the latter, since the OP mentioned a mounted disk, and one doesn't usually rename disks willy-nilly. That's just a guess, though.

I think the best answer is "Please clarify exactly what you're trying to accomplish. Do you want to create an item that is hidden, or do you want to hide an existing item whose name you can't change?".

In any case, even hidden items can be made visible in Finder:

defaults write com.apple.finder AppleShowAllFiles TRUE; killall Finder

So if the OP is trying to hide something to prevent any user from seeing it under any circumstances, then that may be futile, or misguided at best.

  -- GG

_______________________________________________

Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com

Reply via email to