Skip to content

Instantly share code, notes, and snippets.

@dbrack
Created October 31, 2012 16:53
Show Gist options
  • Save dbrack/9e6f70bc39a84b4ebd67 to your computer and use it in GitHub Desktop.
Save dbrack/9e6f70bc39a84b4ebd67 to your computer and use it in GitHub Desktop.
This will create directories 00 till 13 with 100 files each 100 Mbytes in size. So 14 times 10 GB a total of 140 GBytes
for d in {00..13}
do
mkdir $d
for f in {000..100}
mkfile 100m $d/$f
done
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment