#!/bin/sh
# filename: uad_vfind.sh
#
# Example shell script to execute VFind with UAD 
# Read the comments contained in this script, then modify for 
# your own site.
######################################################
# put out warnings in the script for the user to see.
echo "#######################################################"
echo "#                   W A R N I N G                     #"
echo "#                                                     #"
echo "#  This is file uad_vfind.sh                          #"
echo "#  This is only an example script.  Please modify it, #"
echo "#  as necessary, for your site.                       #"
echo "#                                                     #"
echo "#######################################################"
echo " "
######################################################

####
#  The environment variable BIN_DIR may need to be changed for each 
#  installation
####

BIN_DIR=/usr/bin
export BIN_DIR

  find / -type f -print | egrep -v '^(/dev/|/proc/)' | \
  ${BIN_DIR}/uad -s -ssw | \
  ${BIN_DIR}/vfind -ssr | \
  grep '##==>>>' | mail root
