Delete hidden "Icon" files after "Showing All Files"?

Discussion in 'OS X Mavericks (10.9)' started by 3282868, Aug 20, 2013.

  1. 3282868 macrumors 603

    Jan 8, 2009
    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!

    Attached Files:

  2. w0lf, Aug 20, 2013
    Last edited: Aug 20, 2013

    w0lf macrumors 65816


    Feb 16, 2013
    Using this in Terminal should work:

    find ~/ -name 'icon' -delete
    of course you could use / but unless you're seeing these in system folders I'd probably just use ~/
  3. 3282868 thread starter macrumors 603

    Jan 8, 2009

Share This Page