Refactor scripts

This commit is contained in:
dwrz
2023-02-01 20:11:39 +00:00
parent b895528fba
commit 8024b1df13
2 changed files with 6 additions and 3 deletions
-1
View File
@@ -78,7 +78,6 @@ delete_outdated() {
rm -f "$1"
rm -f "${PROJECT}/motion/${name}.jpg"
find "${HOME}/photo/" -mmin +5 -delete
find "${HOME}/timelapse/" -mmin +60 -delete
find "${PROJECT}/motion/" -iname "*.jpg" -mmin +5 -delete
find "${PROJECT}/motion/labels/" -mmin +5 -delete