#!/bin/bash

#for i in {001..100} # Mac NG
for i in `seq -f%03g 1 100`
do
    `cat template.txt > dummy_$i.txt`
done
mkdir -p subdir/subsubdir
cp dummy_*.txt subdir
cp dummy_*.txt subdir/subsubdir

