Created
June 7, 2012 09:14
-
-
Save viz3/2887777 to your computer and use it in GitHub Desktop.
create 500mb tiff image with random contents.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/sh | |
size=9348 | |
count=10 | |
tmpname="500mb.tiff" | |
for i in `jot - 1 $count`; do | |
convert -size ${size}x${size} xc: +noise Random $tmpname | |
ofname=`md5 -q $tmpname`'.tiff' | |
mv $tmpname $ofname | |
done |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment