Generate lots of files


#1

I need to generate a whole load of dummy files in order to test a downloads section on a site i’m building. Ive googled around and theres plenty about generating a single large file. What i need is about 20 each of various image formats, zip files, PDF files and word docs. Don’t really want to spend ages doing it by hand.

Anyone know way to do through bash or some other script?


#2

you could use https://www.imagemagick.org and some scripting https://www.godaddy.com/garage/how-to-bulk-convert-images-using-imagemagick/