RTSP streams are a subdirectory of $RECS_DIR now

This commit is contained in:
mcguirepr89
2022-06-04 13:06:38 -04:00
parent b24d8d9796
commit 0b24481693
2 changed files with 3 additions and 2 deletions
+1 -1
View File
@@ -8,7 +8,7 @@ if [ "${used//%}" -ge 95 ]; then
case $FULL_DISK in
purge) echo "Removing oldest data"
cd ${EXTRACTED}/By_Date/
curl localhost/views.php?view=Species%20Stats &>/dev/null
curl localhost/views.php?view=Species%20Stats &>/dev/null
filestodelete=$(($(find ${EXTRACTED}/By_Date/* -type f | wc -l) / $(find ${EXTRACTED}/By_Date/* -maxdepth 0 -type d | wc -l)))
iter=0
for i in */*/*; do