Become a MacRumors Supporter for $50/year with no ads, ability to filter front page stories, and private forums.

maxswisher

macrumors newbie
Original poster
Sep 3, 2011
7
0
California
I take a lot of screenshots, and I never need them after I reboot. I want to store them in a separate folder (I can use something like Secrets.prefpane or other things to change the screenshot save folder) and have the contents of that folder be deleted on startup.

How would I do this?

I know it's somehow possible, as application Caches are always cleared on startup.

Thanks for the help!
-Max
 
Perhaps an Automator script? Open Automator, create an "Application" and use:

1. Get specified Finder items.
2. Move Finder items to Trash.

Then put it in your Login Items (in the Users & Groups prefpane).
 
That's a great idea. I'll try that.

----------

Perhaps an Automator script? Open Automator, create an "Application" and use:

1. Get specified Finder items.
2. Move Finder items to Trash.

Then put it in your Login Items (in the Users & Groups prefpane).

Works perfectly! I added in the end another action to recreate the empty folder. In the end it looks like this:
Screen_Shot_2011-09-03_at_1.40.08_PM.png


Thanks! :D
 
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.