Hi, welcome to LQ!
What exactly are you trying to accomplish?
How about something like:
echo > some_new_file
for file in $(find /search/path/ -type f -name "*\.csv"); do
head -n 5 "$file" >> some_new_file
That prints the first 5 lines of all the files, into a new file. If this isn't what you're looking for, adjust the `head` command, or please explain some more.