#!/bin/bash

cd /opt/pagen/bin
# Looking for new content (or just renewed)

for i in `find ../content -type f -newer last_refresh` ; do

  echo Refreshing content file $i
  ./content2 $i
done

./pagen.tcl $1 $2 $3

touch last_refresh
