I have these example files in an Ubuntu 18.04 system:
VID_20190407_160033.3gp
VID_20190407_161444.3gp
VID_20190407_161609.3gp
VID_20190415_183315.3gp
VID_20190415_183411.3gp
VID_20190415_192712.3gp
VID_20190420_124435.3gp
VID_20190420_125755.3gp
VID_20190420_130214.3gp
VID_20190420_141700.3gp
And I want to concatenate 3GP files by a script (perhaps with ffmpeg ?) into one file, selecting files by the YYYYMMDD date in the file name, with a result of:
VID_20190407.3gp
VID_20190415.3gp
VID_20190420.3gp
What is the best way to script that?
System
Linux local 5.0.0-29-lowlatency #31-Ubuntu SMP PREEMPT Thu Sep 12 14:13:01 UTC 2019 x86_64 x86_64 x86_64 GNU/Linux
Thank you.