I have file with data fields in this format YYYY-MM-DD HH:MM:SS but I noticed the export set the Months values to be the same as the minutes value. I want to use sed to replace the Month value for all line to the same value.
I am trying this and it didn't work:
sed "s/-[0-9]{2,}-/-08-/g" test.txt
Anyone have an idea how to do this?