RTSP streams are a subdirectory of $RECS_DIR now
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user