Created
December 9, 2021 19:27
-
-
Save i3p9/80d4902bf709d9ba4c63fd3e47f60c6d to your computer and use it in GitHub Desktop.
This file contains 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
#!/usr/bin/env bash | |
MIN=700000 #700KB | |
MAX=15000000 #15MB Probably | |
lol() { | |
for n in {0..100} | |
do | |
#f=`mktemp XXXXX` #if you want true random filenames | |
f="000"$n | |
size=$(jot -r 1 $MIN $MAX) | |
head -c $size /dev/urandom > $f | |
done | |
} | |
lol $PWD |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment