traxxx-assets/logos-thumbs.sh

8 lines
203 B
Bash
Raw Normal View History

2024-02-22 04:03:05 +00:00
#!/bin/bash
for dir in logos/*;
do mkdir -p "$dir/thumbs" "$dir/lazy";
mogrify -path "$dir/thumbs" -resize 300x40^\> "$dir/*.png";
mogrify -path "$dir/lazy" -resize 50x\> "$dir/*.png";
done