say
. You can download different voices in Mountain Lion (not sure about older versions) and can be looked up from System Preferences
Usage: say [-v voice] [-o out] [-f in | message]
You can use command | say
to stream output of the command once its completed.
The famous Vicki voice from Portal.
say -v Vicki Do not adjust your screen. You will be assimilated. The process is quick and painless, stand by
So, does it matter if the file is the same file?
ie: Let say there is a picture google.png

and you want it to copied into the same dir 4 times.
as an in that directory you would have
google.png google 2.png google 3.png google 4.png?
If thats what you want:
for i in {1..4}
do
cp google.png "google$i.png"
done
But if you want the "images" files to be different, and they are going to be gibrish files, but 10m in size exactly
you wanna do something like
for i in {1..5}
do
dd if=/dev/random of="yourfilename$i.test" bs=12428800 count=1
done
This will make four files that are 10m in size filled with bunch of random characters.
Comment and let me know what you really want and I can go back and redo this.
It would help if you posted your script that fails so I can see what youre trying to do.
EDIT:
Changed the in device from /dev/zero to /dev/random to generate random file content.
Best Answer
This problem continued for me when I updated to 10.13.3 but I found a solution. Rather than using the Paste Text option when creating the new Dictation Command, use the Paste Data command. Then go to TextEdit and type the text you want, select, and copy it. Then go back to the window creating your Dictation Command and click on the Import from Clipboard button. You will notice that the button moves down (I assume meaning that there is data there now). Now my Dictation Command works! I am not sure if this works in earlier versions of Sierra.