1

I just noticed in my ~/Copy directory there is a file named Icon? that is 0 byte.

The file is only visible by a ls command.

I'm just curious what for this file exists, does anyone know about it?

  • 1
    Did you have a custom icon for this directory previously? – Fyrefly Oct 15 '14 at 18:12
  • This folder is made by Copy app, so maybe that was the reason. Thanks! – ironsand Oct 16 '14 at 7:12
  • 1
    The data fork of Icon\r files is empty because the image data is stored in the resource fork. Run cat Icon$'\r'/..namedfork/rsrc or xattr -l Icon$'\r' to see the contents of the resource fork. – Lri Oct 16 '14 at 17:12
1

It's actually named "Icon\r" (you can verify this with ls in Terminal) and indicates a custom icon for the directory.

1

It's just an empty file. Nothing more.

Since the ~/Copy is not a standard directory, it is hard to say why is it there or why it was created.

  • Then, can I ask why this file is created? – ironsand Oct 15 '14 at 9:45
  • 1
    ~/Copy is not a standard directory, so hard to say. – Matthieu Riegler Oct 15 '14 at 9:48

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .