Do not input private or sensitive data. View Qlik Privacy & Cookie Policy.
Skip to main content

Announcements
Want to see what's currently in public preview? We've pulled it all together in one place. Check it out here
cancel
Showing results for 
Search instead for 
Did you mean: 
talendtester
Creator III
Creator III

[resolved] tFileList - How can I select files for a certain date?

I have files that are created every 10 minutes, my files are named JOB_NAME_YYYYMMDD-HH_mm_ss.out
For example:
JOB_NAME_20110531-15_30_02.out
JOB_NAME_20110531-14_40_03.out
JOB_NAME_20110531-14_50_02.out
JOB_NAME_20110531-15_00_02.out
JOB_NAME_20110531-15_10_02.out
JOB_NAME_20110531-15_20_02.out
How can I zip all the files for each day into one zip file?
Is using tFileList and a Filemask the best option?
This will return a list of all the files created on May 31, 2011:
"*201105 31*.out"
How can I use a context variable to change the FileMask for all the days in a month?
I created two context variables myMonth and myDay now I just need to figure out how to pass a list of valid month and date values to the context variables to loop through:
"*2011"+context.myMonth+context.myDay+".out"
Labels (2)
1 Solution

Accepted Solutions
Anonymous
Not applicable

Hi
I have answered you on 16050.
Best regards
Shong

View solution in original post

3 Replies
Anonymous
Not applicable

Hi
I have answered you on 16050.
Best regards
Shong
Anonymous
Not applicable

Sorry to ask, but where I can find the answer? I did not understand where should I look
Anonymous
Not applicable

where  can i find the solution please ?

thanks