Re: S3 globbing

2014-12-17 Thread durga katakam
Hi Akhil, Thanks for your time. I appreciate .I tried this approach , but either I am getting less files or more files not exact hour files. Is there any way I can tell the range (between this time to this time) Thanks, D On Tue, Dec 16, 2014 at 11:04 PM, Akhil Das wrote: > > Did you try somet

Re: S3 globbing

2014-12-16 Thread Akhil Das
Did you try something like: //Get the last hour val d = (System.currentTimeMillis() - 3600 * 1000) val ex = "abc_" + d.toString().substring(0,7) + "*.json" [image: Inline image 1] Thanks Best Regards On Wed, Dec 17, 2014 at 5:05 AM, durga wrote: > > Hi All, > > I need help with regex in my sc