Is there a simple bash command that will match the date string in a filename like this... File Name 20th May 2019 descr.txt (File Name and descr are strings of variable length) ...and convert it to a filename like this: File_Name_20190520_descr.txt ?
I know there are some other questions that discuss date-based filename conversions but they are either related to Perl or don't specifically mention the ordinal indicator (1st, 2nd, 3rd, 4th).