fix: Find more possible file formats

This commit is contained in:
Carlos Solís 2025-06-24 13:41:20 -06:00
parent c76d6a80cc
commit 4b7b1d0ea7

2
friendica-remove-old-photos-parallel.sh Executable file → Normal file
View file

@ -54,7 +54,7 @@ while read -r x; do
while read -r y; do while read -r y; do
m=$((m + 1)) m=$((m + 1))
loop "${x}" "${m}" "${n}" "${d}" "${y}" #& 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 fi
if [[ "${intense_optimizations}" -eq 1 ]]; then if [[ "${intense_optimizations}" -eq 1 ]]; then
printf "\rFolder %d\tDone " "${n}" printf "\rFolder %d\tDone " "${n}"