Shell script to generate images for testing

Recently I was in need of generating sample images for no. of products in my db. I really hate to create a copy of image for each products in my db.

I modified my previous shell script to automate the process of creating random images for given no. of product ids with relatively smaller no. of sample images.


shell$ sh  
Completed generating 74 images from 5 sample images.  

Find the Gist at

Content requires Javascript to be enabled.

Post Comment