Become a MacRumors Supporter for $50/year with no ads, ability to filter front page stories, and private forums.

3282868

macrumors 603
Original poster
Jan 8, 2009
5,281
0
I need hidden files shown, yet the occasional annoying hidden "Icon" file shows in some folders which screws up workflow (don't ask).

I know the file holds info re: Finder settings, however I ran an AppleScript on all my Mac Pro drives so view settings are constant throughout. Is there an AppleScript I can run that just deleted these files? Google didn't help. Thanks!
 

Attachments

  • Screen Shot 2013-08-20 at 10.00.11 PM.png
    Screen Shot 2013-08-20 at 10.00.11 PM.png
    69.7 KB · Views: 564
I need hidden files shown, yet the occasional annoying hidden "Icon" file shows in some folders which screws up workflow (don't ask).

I know the file holds info re: Finder settings, however I ran an AppleScript on all my Mac Pro drives so view settings are constant throughout. Is there an AppleScript I can run that just deleted these files? Google didn't help. Thanks!

Using this in Terminal should work:

Code:
find ~/ -name 'icon' -delete

of course you could use / but unless you're seeing these in system folders I'd probably just use ~/
 
Last edited:
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.