Find all files with the extension .txt in the current directory and its subdirectories, up to a maximum depth of 2 levels.
echo $(awk 'BEGIN{srand(); printf "%.0f\n", rand()*100;}') | xargs find -maxdepth 2 -type f -name '*.txt'