Created
February 10, 2016 16:49
-
-
Save m87carlson/baa4f5a445725bb2cf31 to your computer and use it in GitHub Desktop.
Create 100,000 files filled with randomness
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/sh | |
# create a seed file | |
mkdir 100k | |
cd 100k | |
dd if=/dev/urandom of=seed.dat bs=1024 count=1000 | |
# use split, splits the seed.dat file up in 10 byte increments | |
split -b 10 -a 10 seed.dat |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment