I use the following for feeding into AI
find . -print -exec cat {} \; -exec echo \;
Which will return for each file (and subfolders) the filename and then the content of the file.Then `| pbcopy` to copy to clipboard and paste it into ChatGPT or similar.