mirror of
https://github.com/friendica/friendica
synced 2024-12-24 01:20:16 +00:00
15 lines
193 B
Bash
15 lines
193 B
Bash
|
sizes="10 16 22 48"
|
||
|
|
||
|
for s in $sizes
|
||
|
do
|
||
|
echo "=[ ${s}x${s} ]===="
|
||
|
[ -d $s ] || mkdir $s
|
||
|
for f in *.png
|
||
|
do
|
||
|
convert $f -resize ${s}x${s} $s/$f
|
||
|
echo -n "#"
|
||
|
done
|
||
|
echo
|
||
|
done
|
||
|
echo "Ok."
|