The reason cp -r source/*.h is not working is because you've only told it to look at .h files. For that reason, it doesn't copy the child directory (since it's not a .h file itself), much less its contents (though they may be .h files).
Reputation Points: 683
Solved Threads: 53
Posting Virtuoso
Offline 1,580 posts
since May 2006