[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: "*20110531*.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"