#!/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