A live bird collage card for your Home Assistant dashboard.
cleanup old empty birdsongs
ehpersonal38260402de0de2
diff --git a/scripts/disk_check.sh b/scripts/disk_check.shindex c47c453f..27fef212 100755--- a/scripts/disk_check.sh+++ b/scripts/disk_check.sh@@ -23,6 +23,7 @@ if [ "${used//%}" -ge 95 ]; thenfi((iter++))done+ find ~/BirdSongs/ -type d -empty -mtime +90 -deletefind ${EXTRACTED}/By_Date/ -empty -type d -delete;;#rm -drfv "$(find ${EXTRACTED}/By_Date/* -maxdepth 1 -type d -prune \