1
0
Fork 0
This repository has been archived on 2023-07-19. You can view files and clone it, but cannot push or open issues or pull requests.
kekskurse.de-old/image-small.sh

6 lines
154 B
Bash
Raw Permalink Normal View History

2021-10-12 16:57:28 +00:00
for f in `find . -type f -iname "*.jpg"`
do
convert ./"$f" -resize 400\> ./"${f%.jpg}_thumb.jpg"
mv ./"${f%.jpg}_thumb.jpg" /home/user/thumbs/
done