[X-Unix] [ANN] unmac

Xavier Noria fxn at hashref.com
Wed Jan 7 14:57:55 PST 2009


On Wed, Jan 7, 2009 at 11:39 PM, Peter Dyballa <Peter_Dyballa at web.de> wrote:

>
> Am 07.01.2009 um 21:44 schrieb Xavier Noria:
>
>>>         else
>>>           if [[ `$FILE -b "$1"` = "empty" && ${BASSNAME:0:4} = "Icon" ]]
>>
>> What are those? Do you have any example?
>
>
> Icon resource files from Classic Mac OS. Actually their name is
> Icon<newline>.

Thank you! I found out Mac OS X creates them for folders and volumes
as well if they have a custom icon, the newline is a CR (which was a
newline in those old MacOS, Unix uses LF).


More information about the X-Unix mailing list