commit 603034d1b4204e8b627a67753de59eb7a7f267ff
parent d9eab495341f657ef0c76edbf75d7f6ff61186f3
Author: dwrz <dwrz@dwrz.net>
Date: Fri, 28 Oct 2022 14:57:00 +0000
Reformat notify script find commands
Diffstat:
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/scripts/notify b/scripts/notify
@@ -63,8 +63,8 @@ delete_outdated() {
rm -f "$1"
rm -f "${PROJECT}/motion/${name}.jpg"
- find "${HOME}"/photo/ -mmin +5 -delete
- find "${HOME}"/timelapse/ -mmin +60 -delete
+ 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
}