DZone Snippets is a public source code repository. Easily build up your personal collection of code snippets, categorize them with tags / keywords, and share them with the world

Snippets has posted 5883 posts at DZone. View Full User Profile

Bash - Creare Una Galleria Di Mini Immagini

10.03.2006
| 4757 views |
  • submit to reddit
        // Prende le immagini di una cartella e ne crea delle copie
// della dimensione di 320x240

#!/bin/sh

for i in `ls *.jpg`;
do
	convert -geometry 320x240 $i galleria-$i
done