FIle "Icon?" are everywhere in my MacBook directories

Hi,


Recently, I started seeing a file "Icon?" in all directories of my MacBook. I have used the below command to delete this multiple times. However, it keeps appearing again, and again.


Does anyone know anything about this? How do we delete these permanently?


find ~/Documents -type f -name 'Icon?' -print -delete

MacBook Pro (M1, 2020)

Posted on May 23, 2023 1:17 AM

Reply

Similar questions

8 replies

Jun 12, 2023 4:40 AM in response to iUmarPie

As you probably determined already, macOS uses an "Icon?" folder to hold data for custom folder icons created by the user, and as I wrote it should be hidden by macOS. You can confirm that for yourself by creating a custom icon and then using the key chord to make it visible.


Change icons for files or folders on Mac - Apple Support


Thank you for confirming Google Drive as the likely cause. I surmise Google is using (arguably, misusing) that feature to contain a status flag indicating folders that need to be backed up. Perhaps it contains metadata recording when it was last backed up, etc. You would need to contact Google to find out if there is anything you can do about it but if I am correct in this assumption it's probably a bug only they can fix.


If you are seeking alternatives to Google Drive of course there are many. I use iCloud. I don't use Google.

Jun 11, 2023 11:17 AM in response to iUmarPie

Am I to understand you can delete these folders, but they keep reappearing on their own?


Something you installed is causing that to occur. What that something is only you can know, but if you don't know where to start my suspicion is that they are being generated by some non-Apple file synchronization system, possibly Google Drive, or Dropbox, but there are other services that can be responsible.


If any of that sounds familiar perhaps it will lead you to some additional troubleshooting you can perform on your own, but if you need help please write back.

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.

FIle "Icon?" are everywhere in my MacBook directories

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