You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
#!/bin/bash |
|
cd /opt/data/uploads |
|
for i in *.png; do convert -thumbnail 80 $i thumb-$i; done; |
|
for i in *.jpg; do convert -thumbnail 80 $i thumb-$i; done; |
|
for i in *.jpeg; do convert -thumbnail 80 $i thumb-$i; done; |
|
for i in *.webp; do convert -thumbnail 80 $i thumb-$i; done; |
|
cd / |
|
|
|
|