Last active
October 31, 2022 13:35
-
-
Save brodzik/009ca8fd38ca5bc486c4a58c3f6ac935 to your computer and use it in GitHub Desktop.
Generates files with random bytes.
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
nfiles=10 | |
nbytes=$((2**20)) | |
for i in $(seq -f "%03g" 0 $(($nfiles - 1))); do | |
dd if=/dev/urandom bs=$nbytes count=1 > $i.bin | |
done |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment