mingsai

File - Delete a Set of Files Resulting From a Search

Mar 1st, 2014
154
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. repeat with theFile in the result
  2.     set itemPath to the (theFile as text)
  3.     do shell script "rm -r " & (quoted form of POSIX path of itemPath)
  4. end repeat
Advertisement
Add Comment
Please, Sign In to add comment