traxxx-assets/tags-thumbs.sh

8 lines
227 B
Bash
Raw Normal View History

2024-02-22 04:03:05 +00:00
#!/bin/bash
for dir in tags/*;
do mkdir -p "$dir/thumbs" "$dir/lazy";
mogrify -path "$dir/thumbs" -resize x280\> -quality 90% "$dir/*.jpeg";
mogrify -path "$dir/lazy" -resize x90\> -quality 90% "$dir/*.jpeg";
done