hi,
I am looking for a way to loop through files in 2 different directories and want to join both files from both directories, those files are named similar because each one file from one folder belongs to another file from the other folder, and I basically want to join the corresponding files together into 1 file from the 2 directories, the files don't have the same naming, but they are already in my repository in the same order (and also in the same alphabetical order in the directories)
Is there any way to loop through the files and join each of the corresponding files together, other than based on the names only? e.g some alphabetical order index or so?