A live bird collage card for your Home Assistant dashboard.
temporary fix for midnight bug
mcguirepr89c0c6d688494a
diff --git a/scripts/extract_new_birdsounds.sh b/scripts/extract_new_birdsounds.shindex 6a90a8dc..029edc6d 100755--- a/scripts/extract_new_birdsounds.sh+++ b/scripts/extract_new_birdsounds.sh@@ -27,12 +27,12 @@ for h in "${SCAN_DIRS[@]}";do# Field 5: Confidence# Removes old directories- if echo "${h}" | grep $(date --date="yesterday" "+%A") &> /dev/null;then- echo "Removing old directories"- rm -drf "${h}"- rm -drf "$(echo ${h} | cut -d'-' -f1-3)"- continue- fi+ #if echo "${h}" | grep $(date --date="yesterday" "+%A") &> /dev/null;then+ # echo "Removing old directories"+ # rm -drf "${h}"+ # rm -drf "$(echo ${h} | cut -d'-' -f1-3)"+ # continue+ #fi# Iterates over each "Analyzed" directoryfor i in $(find ${h} -name '*csv' | sort );do