OS X: Icon^M file

When I use Terminal, I’ve noticed that the OS creates this Icon^M for folders that I created. It’s quite irritating (I’m not sure what it’s for), and Eclipse was choking on it last semester. I never figured out why until today. So apparently it is a custom icon (but I didn’t set one!), so I can delete ’em via Terminal; e.g.

woteba:~ kzhiwei$ find . -name Icon*
./Icon
woteba:~ kzhiwei$ find . -name Icon* | xargs rm -rf

More reading: http://superuser.com/questions/298785/icon-file-on-os-x-desktop

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s