Created
February 22, 2021 08:44
-
-
Save ayoisaiah/868437602e73084ebc11efcec262e92c to your computer and use it in GitHub Desktop.
Benchmark preparation script for F2
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
#!/usr/bin/bash | |
dirs="dir1/dir2/dir3/dir4/dir5" | |
if [ ! -d $dirs ] | |
then | |
mkdir -p $dirs | |
fi | |
find ./dir1 ! -name '.*' ! -type d -exec rm -- {} + | |
( IFS=/ | |
for p in $dirs; do | |
cd $p | |
for i in {1..2000}; do touch "pic-$i.png"; done | |
done | |
) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment