I have a line that looks like this:
"startTime": "2022:12:03T10:00:00Z",
I want to replace the the date with another date 'dtime', assuming file path is all given:
sed -i 's/"startTime":".*/"startTime":"'$dtime'",/' $filePath
but this does not work. I'm using Mac and wondering if there are any specifics related to Mac.