Skip to content

Instantly share code, notes, and snippets.

@holys
Created September 22, 2014 02:46
Show Gist options
  • Save holys/c834939b673770c2450b to your computer and use it in GitHub Desktop.
Save holys/c834939b673770c2450b to your computer and use it in GitHub Desktop.
rm -rf 1
start=$(date +%s)
for i in {1..10}
do
for j in {1..10}
do
for k in {1..10}
do
for l in {1..10}
do
mkdir -p 1/2_$i/3_$j/4_$k/5_$l
done
done
done
done
stop=$(date +%s)
delta=$(($stop - $start))
echo $delta
for m in {1..10}
do
touch 1/2_1/3_1/4_1/5_1/$m
done
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment