Skip to content

Instantly share code, notes, and snippets.

@shinofara
Created July 16, 2016 16:29
Show Gist options
  • Save shinofara/fb63029ef560a73bdd19d0acbe8ead83 to your computer and use it in GitHub Desktop.
Save shinofara/fb63029ef560a73bdd19d0acbe8ead83 to your computer and use it in GitHub Desktop.
makeTestFiles.sh
#!/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