There's a small bug in my ora-export.sh script above:
You should move the cd $put_in_dir
line up to be
before the if [ "$redirect_p" -ne 1 ]
line, not
where it is now. If the cd isn't before the cat -s '' >
$log_file
truncation of the old log file, the log file never
gets truncated at all and it will just keep growing week after week.