Last active
August 29, 2015 14:22
-
-
Save bigsquirrel/fd3be8bf082a87e70f98 to your computer and use it in GitHub Desktop.
random generate a large number of files
This file contains hidden or 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/bash | |
for i in $(seq 1 5000); | |
do | |
dd if=input of=${i}.data bs=1k count=1024; # bs stands for block size, count stands for the block number | |
done; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment