#!/bin/bash
TODAY=`date +%Y_%m_%d`
if [ -d /orabackup/Test/backupset/$TODAY ];then
  file_flag=`ls -l /orabackup/Test/backupset/$TODAY/ | grep "^-" | wc -l`
  echo $file_flag
else
  echo 0
fi
