Find all files with a ".txt" extension in the current directory and its subdirectories, excluding the "/test/" directory, and for each file found, print the message "Processing [filename]".
find ~ -iname '*.txt' | grep -v '/test/' | xargs -n1 -I{} echo "Processing {}"