ricbaral

batch create thumbsnails with imagemagick

Feb 16th, 2015
238
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Bash 0.12 KB | None | 0 0
  1. #!/bin/bash
  2. FILES="$@"
  3. for i in $FILES
  4. do
  5.   echo "Prcoessing image $i ..."
  6.   convert -thumbnail 128 $i thumb.$i
  7. done
Advertisement
Add Comment
Please, Sign In to add comment