I had a very similar problem. On windows I used this to batch rename and copy files.
The tool is called Bulk Rename Utility. It basically lets you use Regex to match multiple files and rename them according to a pattern. It also allows for file name trimming which sounds like exactly what you need. There are also other similar tools out there that will allow you do to same and a quick Google search will reveal most of them.