I have several recordings with a file-name schema like this
%year%month%day-%hour%minute%second__%phonenumber.amr e.g.: 20190212-112007__+313206601234.amr
I want to swap words to obtain:
%phonenumber_%day-%month-%year_%hour-%minute-%second.amr e.g.: +313206601234__12-02-2019_11-20-07.amr
I know I can use
sed utility but its syntax is like an archaic language, plus I'm confused about the use of both
[0-9] and . for substitution.