I'm new to Linux and I have to remove a specific string of digits in a file name.
Here are my file names:
AB.TEXT.OMN.BUFFER.INSERT.123.20130315.CSV
AB.TEXT.OMN.BUFFER.APPEND.5345667.20130315.CSV
I need the output as:
AB.TEXT.OMN.BUFFER.INSERT.20130315.CSV
AB.TEXT.OMN.BUFFER.APPEND.20130315.CSV
I want to remove the 123 and which may 5345667 or other numbers what ever come in that position, so I want to remove string between . (5th occurrence) and . (6th Occurrence) in the file name.