Good morning.
I have a tricky one here for me. Hope somebody can help.
I am looking for a way to take a single script in a directory and use it to fire all scripts within a subdirectory.
For example.
Lets say I have the following in /lcl/prd/apps
file1.sh
file2.sh
file3.sh
file4.sh
file5.sh
Now lets say that the fire.sh script should execute all scripts within /lcl/prd/apps
So if I was to run fire.sh it should then execute any scripts it finds in /lcl/prd/apps which would be...
file1.sh
file2.sh
file3.sh
file4.sh
file5.sh
So in a nut shell I need to find a way to run a script in a directory that in return runs all the scripts in a subdirectory at once.
Plus we may add or take away scripts at times.
Any ideas?
Thanks!