Created
May 22, 2014 18:15
-
-
Save bvogel/073b59b19354861dca1d to your computer and use it in GitHub Desktop.
/usr/local/cron/delete_security_cam_history.sh
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
| #!/bin/sh | |
| seven_days_ago=`date -d '7 days ago' +'%Y%m%d'` | |
| rm -f /share/SecurityCam/webcam${seven_days_ago}* |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment