sharieswebsite/tasks/correctpng.sh
Yann Esposito (Yogsototh) bdad3b4f22 Fix some layout issues
2011-07-10 18:11:35 +02:00

9 lines
232 B
Bash
Executable file

#!/usr/bin/env zsh
rootdir="${0:h}/.."
for fic in $rootdir/site/img/**/*.png; do
print -n "$fic"
newname=${fic}.uncorrected
mv "$fic" "$newname" && \
convert -strip "$newname" "${fic}" && \
print "\t[DONE]"
done