I've a lot json file the structure of which looks like below:
{
key1: 'val1'
key2: {
'key21': 'someval1',
'key22': 'someval2',
'key23': 'someval3',
'date': '2018-07-31T01:30:30Z',
'key25': 'someval4'
}
key3: []
... some other objects
}
My goal is to get only these files where date field is from some period. For example from 2018-05-20 to 2018-07-20. I can't base on date of creation this files, because all of this was generated in one day. Maybe it is possible using sed or similar program?