find files and copy into a directory

hi all,

can u please help me in finding all ksh file in directory and including all subdirectories and then copy those files into another directory.

thanks in advance
-bali

Can you show what you have tried?

hi all

i wanted to copy all ksh files in one directory with subdirectories (each subdirectory contains ksh files), into another directory by using find and cp commands, am unable to do it, can you please suggest any other method to copy all ksh files.

thanks in advance
--bali

i wanted to copy all ksh files in one directory with subdirectories (each subdirectory contains ksh files), into another directory by using find and cp commands, am unable to do it, can you please suggest any other method to copy all ksh files.

Do not create multiple threads for the same topic. See the rules. Specifically rule #4. I have merged the threads. Also, can you post what you have tried to do so far? Or is this homework?