this is what i had ... but it wont work right. Still new to bash scripting ... and python...
(does not currently work right)
Req = Bash ver 4 (what everyone has i believe)
#!/bin/bash
# 1$ = parent folder, 2$ = pattern, AKA *.py
for i in "$1"/"$2";do
if [ -d "$i" ];then
echo "dir: $i"
recurse "$i"
elif [ -f "$i" ]; then
echo "file: $i"
fi
done