Dot files have been used by many program, for many years, in all UNIX based systems, for all kinds of reasons. To claim that they are "reserved for the system" is patently false. Just cd around your file system and try a few "ls -a" 's here and there.

What has "being supported by the finder" go to do with anything?

Tom Wetmore
On Oct 8, 2009, at 9:18 PM, M Pulis wrote:


On Oct 8, 2009, at 4:37 PM, I. Savant wrote:

On Oct 8, 2009, at 7:24 PM, Maggie Zhang wrote:

Does anyone know if it's possible to programmatically hide an single item
(e.g. a file or a mounted disk or a directory) from the Desktop?

Rename it so that it starts with a period. "Dot-files" are hidden.

--
I.S.


Please do not advise this hack. It is not supported by the Finder.

dot files are hidden for a reason.

The Finder does not show nor allow users to create "dot" files nor directories because they are reserved for the system.

Unless you can absolutely prove that your file fits Apple specs for a legitimately installed "dot" system file that is not the best practice to make a non-system file invisible. Seek an alternative. There are temp directories and other legit facilities.

Under prior Mac OS's, dot files were divers. You could trash a system by rebooting after saving a file with the name ".sony".

Even if 10.6 doesn't barf, there is no guarantee that your unknown- to-Apple-and-you-were-warned-not-to-do-this dot file will not corrupt future systems or not be casually destroyed in the background as part of a system cleanup properly identifying (your) suspicious files as viral data.

Be very careful.

Gary
_______________________________________________

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/ttw4%40verizon.net

This email sent to t...@verizon.net

_______________________________________________

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