cat all files recursively in a directory

find . -name '*.txt' -exec cat {} \;

This command finds all files that have an extension of .txt in the current directory and its sub directories and executes a cat command on them

Scroll to top
Bitnami