9 lines
232 B
Bash
Executable file
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
|