Simplify notify script cleanup
This commit is contained in:
+1
-5
@@ -73,11 +73,7 @@ delete_outdated() {
|
|||||||
local filepath="$1"
|
local filepath="$1"
|
||||||
|
|
||||||
rm -f "$1"
|
rm -f "$1"
|
||||||
rm -f "${PROJECT}/motion/${name}.jpg"
|
rm -rf "${PROJECT}"
|
||||||
find "${HOME}/photo/" -mmin +5 -delete
|
|
||||||
find "${PROJECT}/motion/" -iname "*.jpg" -mmin +5 -delete
|
|
||||||
find "${PROJECT}/motion/labels/" -mmin +5 -delete
|
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
release_lock () {
|
release_lock () {
|
||||||
|
|||||||
Reference in New Issue
Block a user