I have files of two file pattern
HUB.SG.20220902.01.P
and
HUB.SG.20220902.001.P
in the second file name the .001. will keep on incrementing like the next file will be HUB.SG.20220902.002.P . . . HUB.SG.20220902.100.P and so on
but the first file will always be of the file name pattern as : HUB.SG.20220902.01.P
I want my File watcher job to just pick file of the pattern: HUB.SG.20220902.001.P and not of the pattern: HUB.SG.20220902.01.P
If I add in my job the filename = "path/HUB.SG..**.P" - it picks up files of both the filename pattern.
How do I resolve this so my file watcher job just picks up file of the filename pattern : "HUB.SG.20220902.___.P"