Skip to content

Instantly share code, notes, and snippets.

@m87carlson
Created February 10, 2016 16:49
Show Gist options
  • Save m87carlson/baa4f5a445725bb2cf31 to your computer and use it in GitHub Desktop.
Save m87carlson/baa4f5a445725bb2cf31 to your computer and use it in GitHub Desktop.
Create 100,000 files filled with randomness
#!/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