From 260402de0de2144b3328110ea4afc0419507e903 Mon Sep 17 00:00:00 2001 From: ehpersonal38 <103586016+ehpersonal38@users.noreply.github.com> Date: Fri, 17 Feb 2023 11:25:22 -0500 Subject: [PATCH] cleanup old empty birdsongs --- scripts/disk_check.sh | 1 + 1 file changed, 1 insertion(+) diff --git a/scripts/disk_check.sh b/scripts/disk_check.sh index c47c453..27fef21 100755 --- a/scripts/disk_check.sh +++ b/scripts/disk_check.sh @@ -23,6 +23,7 @@ if [ "${used//%}" -ge 95 ]; then fi ((iter++)) done + find ~/BirdSongs/ -type d -empty -mtime +90 -delete find ${EXTRACTED}/By_Date/ -empty -type d -delete;; #rm -drfv "$(find ${EXTRACTED}/By_Date/* -maxdepth 1 -type d -prune \