I have one requirement to transfer file depends on the done file name

for example, in the drop folder inputDir, if there is file named
123456.done dropped, I need to move all the file whose name including
123456 to outputDir. if there is file named 456789.done dropped, I need to
move all the files whose name including 456789 to outputDir.

I know that we have doneFileName=${filel.name}.done, but how to reuse this
${file.name} in the include regular expression to filter file name?

file://inputDir?delete=true&include=^.*_ ${file.name
}_[0-9]{5}.dat$&doneFilenName=${file.name}.ready


thanks

-- 
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Weiquan Yuan
Located in Ottawa, Canada

Reply via email to