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.
9 lines
281 B
9 lines
281 B
1 year ago
|
#!/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 /
|
||
|
|