Hi,
does the following do what you want?
Code:
for i in {1..9} ; do j=$((i+4)) ; echo cp -r /scrach/job-$j LA-$i; done
If not, please explain again. Perhaps write out the commands that you want run (for a single value of i), and we can show you how to automate it.
Cheers,
Evo2.
PS. Remove the "echo" to actually make it work.