Empty file named "icon?" appearing in folders Ventura

I am suddenly seeing an empty file in many folders that is showing as "Icon?" with an older date - around 2020.


Most of the folders I see having this file have a customized icon for the file. Either a color or a graphic change.


I can see from past queries on this that the "icon?" file should be a hidden file, but I don't see how to globally hide these again, or what caused it.


It seemed to show up after the last security update I did for Ventura.


Does anyone else have this problem still? How do I globally hide these again? I don't want to accidentally delete them. Thank you.

Mac mini

Posted on Mar 13, 2024 4:38 PM

Reply

Similar questions

5 replies

Mar 13, 2024 5:31 PM in response to danellem

danellem wrote:

I am suddenly seeing an empty file in many folders that is showing as "Icon?" with an older date - around 2020.

Most of the folders I see having this file have a customized icon for the file.

Yes. That's the "Icon?" file.

How do I globally hide these again? I don't want to accidentally delete them. Thank you.

Most likely, you have inadvertently made hidden files visible. Hold down shift-command and type the "." key to re-hide them.

Mar 14, 2024 9:34 AM in response to danellem

danellem wrote:

I tried opening a folder and doing shift/command/. but nothing changed. I tried highlighting the file, and still nothing.

I tried doing shift/command/. on the desktop, and all the temp word file icons popped up, so I know I am doing it right at least there.

What am I doing wrong?

It doesn't sound like you are doing anything wrong. Somehow those files have become corrupt.


You may be able to fix it on the command line. Open Terminal, navigate to inside one of those folders, and enter the following:


chflags hidden Icon$'\r' 


and press the return key


You'll have to do it for every folder. You must enter it exactly as above.

This thread has been closed by the system or the community team. You may vote for any posts you find helpful, or search the Community for additional answers.

Empty file named "icon?" appearing in folders Ventura

Welcome to Apple Support Community
A forum where Apple customers help each other with their products. Get started with your Apple Account.