Find all directories and files (regardless of name) and print out the names of all directories and files that end with either ".csv" or ".txt".
find . -name "*" -type d \( -or -iname "*.csv" -or -iname "*.txt" \) -print