Created
February 11, 2014 09:04
-
-
Save davidglezz/8931511 to your computer and use it in GitHub Desktop.
Little script to generate 1000 folders, with 100 files each of 100kbyte.
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
for i in `seq 1 1000`; do | |
mkdir -p files-$i; | |
for j in `seq 1 100`; do | |
dd if=/dev/zero of=files-$i/$j bs=100k count=1 2> /dev/null; | |
done; | |
done |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment