Hi all,

I have a directory called /data
In this directory I have some files like abcejb.jar,12_ab_ejb.jar, shejb.jar, test
I need a shell script like...
1st I want to check if there is any ejb file exists in the directory using some condition
If ejb files exists I want to redirect the ejb files list to a file called list.
Now I want to copy all the files in the list file to some remote system.

Could any one help me on this. I am poor in scripting.

Regards
Kalyan Kumar Pasupuleti