• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Invisible Unix "Icon" File
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Invisible Unix "Icon" File


  • Subject: Re: Invisible Unix "Icon" File
  • From: Michael Wood <email@hidden>
  • Date: Thu, 4 Nov 2010 16:59:37 +0200

On 4 November 2010 16:33, Luther Fuller <email@hidden> wrote:
> I just got a strange error message from a script thats been working correctly for a very long time. The error message mentioned an "Icon" file, so I looked for an invisible "Icon" file in the offending folder and removed it. Now the script works correctly. I'll see if I can fix the code later, meanwhile ...
>
> Does anyone know any details about a file that's ...
> 1. Invisible

I suspect it's only invisible in the GUI.  You should see it in the
Terminal, but it will likely display as: Icon?
(i.e. with a question mark at the end).

> 2. Named "Icon"
> 3. Kind is either 'Finder.app Document' or 'Unix Executable File'.
>
> Where do they come from and what do they do?

I've seen these on Windows or Samba shares as far as I remember.  The
file is called "Icon^M" (i.e. Icon with a Ctrl-M character at the end)
and maybe your script did not like the control character in the name.

I think they are created by the Finder when you set a custom icon for
a file and the filesystem doesn't support resource forks or
attributes.

--
Michael Wood <email@hidden>
 _______________________________________________
Do not post admin requests to the list. They will be ignored.
AppleScript-Users mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
Archives: http://lists.apple.com/archives/applescript-users

This email sent to email@hidden

  • Follow-Ups:
    • Re: Invisible Unix "Icon" File
      • From: Luther Fuller <email@hidden>
    • Re: Invisible Unix "Icon" File
      • From: Michelle Steiner <email@hidden>
References: 
 >Invisible Unix "Icon" File (From: Luther Fuller <email@hidden>)

  • Prev by Date: Invisible Unix "Icon" File
  • Next by Date: Re: A newbie's problems with Pages and Applescript
  • Previous by thread: Invisible Unix "Icon" File
  • Next by thread: Re: Invisible Unix "Icon" File
  • Index(es):
    • Date
    • Thread