David Phillip Oster wrote:
> Give a folder a custom icon and look with a a tool like ResEdit,
> Resorcerer, or the "ls" command in Terminal, and you'll see a file in
> the top level of the directory named:
>
> Icon\r
>
> for most folders with custom icons.
I created a folder on the Desktop and gave it a custom icon. An ls -al
gives...
[xxx:~/Desktop/demo] dale% ls -al
total 128
drwxr-xr-x 3 dale staff 102 Oct 3 09:11 ./
drwx------ 38 dale staff 1292 Oct 3 09:11 ../
-rw-r--r-- 1 dale staff 0 Oct 3 09:11 Icon?
(if I vi demo (the directory) it shows me that Icon? is actually Icon^M
which is \r of course). It's 0 bytes, so I presume the icon is actually
stored in the resource fork (I'm presuming ls is not resource aware).
I used ResKnife but I couldn't find the Icon file within it (but the
behaviour was a bit inconsistent, so I'm not sure that that's a sign
either way).
Dale
--
dstanbro.TakeThisOut@spam.o.matic.bigpond.net.au
>> Stay informed about: Where are directory icons stored?