Script runs fine in Solaris and Linux just not on the crippled MAC -- thus no build environment
#!/bin/bash
var0=1
LIMIT=60
mkdir Application
cd Application
while [ "$var0" -lt "$LIMIT" ]
do
mkdir "$var0";
cd $var0;
for i in $(seq 1 8192);
do mkdir "${i}";
cd "$i";
dd if=/dev/urandom of=a bs=4096 count=1 > /dev/null 2>&1;
mkdir "${i}";
cd "$i";
dd if=/dev/urandom of=a bs=4096 count=1 > /dev/null 2>&1;
mkdir "${i}";
cd "$i";
dd if=/dev/urandom of=a bs=4096 count=1 > /dev/null 2>&1;
cd ..;
cd ..;
cd ..;
done
cd ..;
var0=$((var0 = 1));
echo "$var0";
date;