Bash

find exclude file or directory

find . -path './.git' -prune -o -print

xargs handle space in file name

find . -path './.git' -prune -o -print | xargs -i cat ./{}