Automator-auto delete contents of folder

Ric

Joined
May 14, 2004
Messages
4,245
Reaction score
5
Another one from Apple Discussions...

How to delete all the files from any given folder at a set time every day...


1) get specified Finder items

2) get folder contents

3) move to trash

4) run AppleScript at the end to empty the trash....

...save as an iCal Alarm plugin and set the time and date, recurrence etc !

regards

Ric
 

Attachments

  • Automator001.jpg
    Automator001.jpg
    255.7 KB · Views: 2,081
  • iCal001.jpg
    iCal001.jpg
    133.5 KB · Views: 1,657
  • iCal002.jpg
    iCal002.jpg
    114.6 KB · Views: 1,539
  • Automator003.jpg
    Automator003.jpg
    227.7 KB · Views: 1,902
  • deletecontents.zip
    2.6 KB · Views: 740
Joined
Sep 27, 2010
Messages
1
Reaction score
0
Thanks Ric, that was exactly what I was looking for! You've inspired me to learn more about applescript and automator.
Sincerely,
Alex
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top