posted 7 years ago
Someone could you please help me to write a spring batch project.
1. Get the file list from all the folders in E drive
2. if the file name is matching with the below xml configuration (etc MKL*.txt or GG*.xls,) move this files to D drive with the same folder and file name.
This file type should mention in a xml file
<file>
<file namePattern=”MKL*.txt”>
<file namePattern=”GG*.xls”>
----------------
</file>
3.if the file name is not MKL*.txt or GG*.xls..etc, crate a log file under the same folder and mention that, this is in valid file