Georg Spar
1 year ago
2 changed files with 5 additions and 5 deletions
@ -1,8 +1,8 @@ |
|||||||
#!/bin/bash |
#!/bin/bash |
||||||
cd /opt/data/uploads |
cd /opt/data/uploads |
||||||
for i in *.png; do convert -thumbnail 80 $i thumb-$i; done; |
for i in *.png; do /usr/bin/convert -thumbnail 80 $i thumb-$i; done; |
||||||
for i in *.jpg; do convert -thumbnail 80 $i thumb-$i; done; |
for i in *.jpg; do /usr/bin/convert -thumbnail 80 $i thumb-$i; done; |
||||||
for i in *.jpeg; do convert -thumbnail 80 $i thumb-$i; done; |
for i in *.jpeg; do /usr/bin/convert -thumbnail 80 $i thumb-$i; done; |
||||||
for i in *.webp; do convert -thumbnail 80 $i thumb-$i; done; |
for i in *.webp; do /usr/bin/convert -thumbnail 80 $i thumb-$i; done; |
||||||
cd / |
cd / |
||||||
|
|
||||||
|
Loading…
Reference in new issue