I am new to spring. I have developed a small app, which is reading files from source, printing the number of lines and copy them to destination folder. It works good. But Now I want to extend it to further to recognize different filenames, read the files, print the total number of lines and copy them to their respective destination folders.
Any suggestion on the best way to achieve this task.