Last active
December 27, 2017 20:35
-
-
Save leozc/243677978e196f910ca9c73ec794838c 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
#!/bin/bash | |
#brew install gun-time for Mac | |
for (( i=1; i<=200000; i++)) | |
do | |
filename=`cat /dev/urandom | env LC_CTYPE=C tr -cd 'a-f0-9' | head -c 32` | |
folder=`cat /dev/urandom | env LC_CTYPE=C tr -cd 'a-f0-9' | head -c 2` | |
mkdir -p $folder | |
base64 /dev/urandom | head -c 100000 > $folder/$filename.txt | |
git add $folder/$filename.txt | |
gtime -o stat.txt -a -f "%U|%S" git commit . -m"for $filename.txt" | |
echo $i | |
done; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment