Here is the script I plan to use to create 500 test files filled with random data.
for((counter=1;counter<=500;counter++)); do echo Creating file$counter; dd bs=1M count=10 if=/dev/urandom of=file$counter; done
But I need a script to make these 500 files have a variable size, for example, between 1M and 10M; those. file1 = 1M, file2 = 10M, file3 = 9M, etc.
any help?
source share