Skip to content

Instantly share code, notes, and snippets.

@fredjean
Created September 26, 2012 23:05
Show Gist options
  • Save fredjean/3791200 to your computer and use it in GitHub Desktop.
Save fredjean/3791200 to your computer and use it in GitHub Desktop.
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>Label</key>
<string>net.fredjean.cleandownloads</string>
<key>ProgramArguments</key>
<array>
<string>mv</string>
<string>~/Downloads/*(mw+1) ~/.Trash</string>
</array>
<key>StartCalendarInterval</key>
<dict>
<key>Hour</key>
<integer>1</integer>
</dict>
</dict>
</plist>
@fredjean
Copy link
Author

Cleans out my download folder of any file not modified in a week...

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment