**Function:** Cleans out a specified folder by grabbing the files inside a folder and moving them to the trash.
**Author**: [John Pastor](http://www.carbonitegeek.info/automator/)
**Notes**: Version 1.01 fixes a problem where the application would not delete all files of a certain type.
What’s wrong with >cmd DEL
Comment by Peter Breis — October 10, 2005 @ 9:13 pm
Nothing’s WRONG with it, it’s just not very automated. I’ve got a script that runs at the end of a Photoshop action, taking any image i drop in there and sending it to a specified email address. After awhile i get a lot of clutter in there. Now with this, I’ve always got an empty file.
Which also fixes a problem i have where PS doesn’t rename the file correctly when it saves if the original file name is long, which results in the Automator script not launching. (The finder treats it like a file replacement, not a new file.)
Comment by David Schloss — October 30, 2005 @ 10:28 pm