Generate Random Files from Command Line
for i in {1..2000}; do dd if=/dev/urandom bs=1000000 count=1 of=file$i; done
Where 2000
is the number of files and 1000000
is the size in bytes
for i in {1..2000}; do dd if=/dev/urandom bs=1000000 count=1 of=file$i; done
Where 2000
is the number of files and 1000000
is the size in bytes