Can someone make me a simple script

Discussion in 'Mac Programming' started by G.T., Mar 15, 2011.

  1. G.T. macrumors 6502a

    Jul 12, 2008

    I think it is a script I need, anyway will start from the beginning.

    A while back I tried XBMC and none of the artwork displayed because there was no image for it to use (the artwork was embedded in the mp3's/aac's). I found a script that took the artwork and copied it to the folder, therefore solving the problem. However, I started running low on space and decided to clean up my mac, I deleted XBMC. Recently I remembered the copied artwork and now want to remove it.

    I was thinking something that started at the folder called "iTunes Music" and searches all subfolders moving anything ending in .png/.jpg to trash.

    Could someone make this, or point me in the right direction.
    Can automator do it, I've not ever used it.

  2. balamw Moderator


    Staff Member

    Aug 16, 2005
    New England
  3. SidBala macrumors 6502a

    Jun 27, 2010
    Or you can just use the GUI search to search for all images in that folder.

    Then, simply select all of them and move to trash.
  4. G.T. thread starter macrumors 6502a

    Jul 12, 2008
    Hey thanks for the help

    I tried the terminal one, but it didn't seem to work. Ended up using search in finder, completely forgot I could just do that.

Share This Page