Created
July 16, 2016 16:29
-
-
Save shinofara/fb63029ef560a73bdd19d0acbe8ead83 to your computer and use it in GitHub Desktop.
makeTestFiles.sh
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 | |
rm -rf testdata/* | |
for i in {0..10};do | |
mkdir testdata/dir${i} | |
for j in {0..50};do | |
mkfile 50m testdata/dir${i}/test-${j}.txt | |
done | |
done | |
du -h testdata |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment