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