I have difficulties in submitting my jobs from the parent directory in Linux. Assume that in my parent directory, I do have 1000 sub directories named 1,2,3 ...., 1000 in all of which there is a submission script submit.sh. Rather than going to each subdirectory and qsub individually which of course takes a huge time of mine, I need to qsub all scripts from the parent directory such that all calculations and outputs will be dumped out in the corresponding subdirectoy. is there any way to do so?
I do appreciate your help.