Created
January 21, 2017 19:04
-
-
Save baltpeter/328ec6e9b8709a940f92c6d7a2c22b14 to your computer and use it in GitHub Desktop.
Create 100 files with random hex-like filenames and random binary content
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
for n in {1..100}; do | |
dd if=/dev/urandom of=$( cat /dev/urandom | tr -cd 'a-f0-9' | head -c 6 ) bs=1 count=$(( RANDOM + 1024 )) | |
done |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment