You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
123456789101112 |
- #!/bin/sh
- # Thumbnails for something, invocation from workingdir
- make_thumbnail() {
- pic=$1
- thumb=$(dirname "$1")/thumb-$(basename "$1")
- convert "$pic" -thumbnail x150 "$thumb"
- }
-
- for pic in ./*.png
- do
- make_thumbnail "$pic"
- done
|