26 Sep '12, 2pm

Simple example of writing a Launch Agent. Good reading in the linked Apple documentation.

September 26, 2012 Tagged: Outkast automate tasks clean directories os x plist zsh Comments (View) Keep your Downloads Directory So Fresh and So Clean Clean Clutter in programmer workspaces, whether digital or physical, add a mental cost. An area of common clutter is the ~/Downloads directory in Mac OS X. I want to clean it up… programmatically. The Goal I want a background job to find files in ~/Downloads which haven’t been modified within the past week and move them into ~/.Trash . In zsh, we do: mv ~/Downloads/*(mw+1) ~/.Trash Read man zshexpn for more awesomeness on shell expansion. Launch Agents For a user-specific background job, Apple recomends creating a Launch Agent , which is a .plist XML file located in ~/Library/LaunchAgents . ~/Library/LaunchAgents/com.thoughtbot.cleandownloads.plist will run my script once an hour: <?xml version="1.0" encoding="UTF-8"?> <!DOC...

Full article: http://robots.thoughtbot.com/post/32326285329/keep-your-d...

Tweets

"The Demonization of Clean Tech: The 5 Biggest ...

cleanedge.com 26 Sep '12, 5pm

The Demonization of Clean Tech: The Five Biggest Myths by Trevor Winnie September 18, 2012 The case for technologies that ...

New #Wind Farm is Nation’s Largest; Means More ...

grist.org 24 Sep '12, 6pm

This past weekend marked the opening of the largest wind farm in the U.S. — a site that will power 235,000 homes. The Shep...

What Will the 2012 Election Mean for the Future of U.S. Clean Energy?: President Obama and Governer Romney hav...

What Will the 2012 Election Mean for the Future...

greentechmedia.com 26 Sep '12, 9pm

President Obama and Governor Romney have already put forth energy plans committed to increasing North American energy inde...

How to Keep Roasted #Coffee Fresh by George Howell

terroircoffee.com 24 Sep '12, 5pm

© 2007 The George Howell Coffee Company Most of what follows is a combination of both common sense, and that information a...

Meet The 232 Politicians Who Voted Against Clean Air

Meet The 232 Politicians Who Voted Against Clea...

care2.com 23 Sep '12, 12pm

What’s the most important issue for you this election ? The economy? Energy? Immigration? Chances are, one thing that spri...

First Saudi Arabia Utility-Scale Clean Energy Plant to be Built in Mecca

First Saudi Arabia Utility-Scale Clean Energy P...

renewableenergyworld.com 24 Sep '12, 4pm

The city on Jan. 5 plans to select from a group of at least 20 bidders competing to build and operate facilities producing...

Budget 2013: BMW Malaysia hopes for more suppor...

paultan.org 26 Sep '12, 1pm

Statement by Dr Gerhard Pils, Managing Director of BMW Group Malaysia In the upcoming Malaysian Budget 2013, BMW Group Mal...