Georg Spar
1 year ago
2 changed files with 14 additions and 0 deletions
@ -0,0 +1,8 @@
|
||||
#!/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 / |
||||
|
Loading…
Reference in new issue