Skip navigation

How do I create a multiple search/delete with automator

135 Views 3 Replies Latest reply: Nov 30, 2012 3:24 PM by rjonk RSS
rjonk Calculating status...
Currently Being Moderated
Nov 30, 2012 3:19 AM

Task:

Clean a folder from obsolete files. Go to sub directories and clean files in that subfolder.

Problem:

When I want to delete selected files with automator I try to create a search and then use "move finder Items to trash" but after choosing that action I cannot find a way to do a second search and delete.

I can make a shell script to do this all but I try to do this in the GUI of automator.

Does anybody know how to return to the start folder and do a new search / delete action?

macbook pro, Mac OS X (10.6)
  • softwater Level 5 Level 5 (5,370 points)

    I apologise in advance for this post, because I know how annoying it is when you ask a question and instead of a reply you get a 'why would you want do that?' But...

     

    If you know how to do this in a shell script, why would you bother doing it in Automator and applescript, which is only converting those commands into the shell script commands you already know how to write?

Actions

More Like This

  • Retrieving data ...

Bookmarked By (0)

Legend

  • This solved my question - 10 points
  • This helped me - 5 points
This site contains user submitted content, comments and opinions and is for informational purposes only. Apple disclaims any and all liability for the acts, omissions and conduct of any third parties in connection with or related to your use of the site. All postings and use of the content on this site are subject to the Apple Support Communities Terms of Use.