A live bird collage card for your Home Assistant dashboard.
this is already a lot better
Patrick McGuireedf0a642539b
diff --git a/scripts/cleanup.sh b/scripts/cleanup.shindex 0b922d64..498f9c4b 100755--- a/scripts/cleanup.sh+++ b/scripts/cleanup.sh@@ -7,3 +7,8 @@ for i in "${empties[@]}";dorm -f "${i}"rm -f "${i/.csv/}"done++if [[ "$(find ${PROCESSED} | wc -l)" -ge 100 ]];then+ ls -1t . | tail -n +100 | xargs -r rm -vv+else+