Find a file in the current directory (and its subdirectories) whose name matches any pattern, excluding the current and parent directories, and randomly select one of them.
find . -name '*' | grep -v '^\.\/\.' | shuf -n 1