I have a list of strings in String that I want to add at the beginning of all files names of Targets in the folder. All files are ordered.
String.txt:
ID1Somestring_
IDISomeOtherString_
IDISomeThirdString_
Targets:
example1.fastq
example2.fastq
example3.fastq
output:
ID1Somestring_example1.fastq
IDISomeOtherString_example2.fastq
IDISomeThirdString_example3.fastq