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

    Joined:
    Jan 8, 2009
    #1
    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

    w0lf

    Joined:
    Feb 16, 2013
    Location:
    USA
    #2
    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 ~/
     
  3. 3282868 thread starter macrumors 603

    Joined:
    Jan 8, 2009

Share This Page