Search for file extensions in the given directories

view full story

http://www.unix.com – Hey guys, I'm lost… I need to make a script that will work in this way: ./script.sh -e sh /usr/bin /home/student this script will result in this output: amuFormat.sh /usr/bin gettext.sh /urs/bin perfect.sh /home/student the parameter -e <ext> gives you which extension you need to look for This parameter is followed by all the directories where you need to search for the file extension. The output will then give you the name of the files, followed by the directory in which the file was found… I really need your help :confused: (HowTos)