I got it figured out. Here is the code if anyone wants to try it out.
Code:
# Filename: file.sh
# Date: March 9, 2004
# Purpose: Used to find executable files
clear
echo "Enter path name:"
read THEPATH
NAMEPART1=`echo $THEPATH | tr -d "/"`
NAMEPART2=`date +-run-%Y-%m-%d`
FILENAME=Exe_Violators_$NAMEPART1$NAMEPART2
echo "Now running the file command and grep for "$THEPATH
# Time Stamping when the script started
date > $FILENAME
find $THEPATH -type f | sed -e 's/ /\\ /g' | xargs file | grep executable >> $FILENAME
# Time Stamping when the script ended
date >> $FILENAME
Now my only problem is if they have executables inside zip files. The file -z option does not seem to work to well.