Find all files (indicated by '*') in the current directory and its subdirectories (indicated by -maxdepth 2) that are not shell scripts (indicated by ! -name '*.sh') and execute the command 'echo {}' in the directory where the file is located (indicated by -execdir).
find . -maxdepth 2 -type f -name '*' ! -name '*.sh' -execdir echo '{}' \;