Sure no problem see below
Code:
echo "Search for $1 "
for logfile in `find $path1/Zotero\ data/storage/ -type f -iname $**`
do
logarr[$logcnt]=$logfile
ext=${logfile#*.}
if [ $ext != "gif" ] && [ $ext != "jpg" ] && [ $ext != "swf" ] && [ $ext != "css" ] && [ $ext != "png" ] ; then
echo $logcnt $logfile | awk -F/ '{print $1 $7;}' !!!!!!!!!!!!!!!!!!here it echo the results !!!!!!!!!!!!!!!!!!!!!
((logcnt=$logcnt+1))
fi
done
echo "Enter choice to view/edit :"
read choice
clear
case "${logarr[$choice]##*.}" in
txt)
echo "Do you want to (e)dit or (v)iew or (o)pen folder?"
read ev
if [ $ev = "e" ]
then
nano ${logarr[$choice]}
elif [ $ev = "v" ]