Last active
January 19, 2019 14:31
-
-
Save GiovanniFrigo/7e8d133f352b97d18c0b81319fb4c650 to your computer and use it in GitHub Desktop.
Crontab configuration of my MBP. Let's add some small automation here!
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Delete Screen Shots taken more than an hour ago. Keeps my Desktop clean :) | |
*/15 * * * * find $HOME/Desktop/Screen\ Shot*.png -mtime +1h -exec rm '{}' \; 2>/dev/null | |
*/15 * * * * find $HOME/Desktop/Screenshot*.png -mtime +1h -exec rm '{}' \; 2>/dev/null |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment