One Star

tFileList How to give filemask

hi all,
In tfileList can we give regular expression. I have three different job. Each will pick file from same folder.
file_name:
pps_subs.201405062359.txt
pps_subs.appl201405062359.txt
pps_subs.subtype201405062359.txt
if i give pps_subs*txt in first job it will pick all files so 2nd and 3rd job will not get files only. i cant give "pps_subs.2014*txt" because 2014 is a year it may will be different in next year.
how to give filemask? can i use regular expression here. like "pps_subs.*txt" ??
If i fix 1st job then for 2nd job and 3rd i can give file mask as "pps_subs.app*txt" and "pps_subs.subtype*txt".. so how to fix filemask for first job.
Regards,
Akshath
1 REPLY
Four Stars

Re: tFileList How to give filemask

Check this, you will get idea
http://www.talendforge.org/forum/viewtopic.php?id=7332
Vaibhav