if cd /var/www/html/FamilyHistory/Photos then cat > RDS_TOC.shtml <List of all cemeteries located

List of all cemeteries located

EOF find . -type d | grep -v Churches | grep -v template | grep -v test | grep -v thumb | grep -v tmp | grep -v _files | sort | while read d do cat >> RDS_TOC.shtml <$d EOF if [ -r "$d/intro.html" ] ; then cat >> RDS_TOC.shtml < EOF fi done cat >> RDS_TOC.shtml << EOF
EOF fi