From 4b7b1d0ea7da493ffbb4774cfe60be5534aa95a0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Carlos=20Sol=C3=ADs?= Date: Tue, 24 Jun 2025 13:41:20 -0600 Subject: [PATCH] fix: Find more possible file formats --- friendica-remove-old-photos-parallel.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) mode change 100755 => 100644 friendica-remove-old-photos-parallel.sh diff --git a/friendica-remove-old-photos-parallel.sh b/friendica-remove-old-photos-parallel.sh old mode 100755 new mode 100644 index 7a49b8b..8331980 --- a/friendica-remove-old-photos-parallel.sh +++ b/friendica-remove-old-photos-parallel.sh @@ -54,7 +54,7 @@ while read -r x; do while read -r y; do m=$((m + 1)) loop "${x}" "${m}" "${n}" "${d}" "${y}" #& - done < <(find "${x}" -type f -iname "*-48*") + done < <(find "${x}" -type f \( -iname "*-48*" -or -iname "*-80*" -or -iname "*-320*" \) ) fi if [[ "${intense_optimizations}" -eq 1 ]]; then printf "\rFolder %d\tDone " "${n}"