How to automate object export?

I have a bunch of .blend files in my game asset folder and, today, i have to open Blender, enable the format exporter (MD5), then tweak the exact same params, and hit export. It is a very tedious task and i do it all the time. I was thinking that maybe there’s a way for me to write a small shell script or Python program that finds all .blend files in my folders and executes the export functionality with preset parameters?

Can anyone provide me some article or tutorial that could help? Thanks a lot for the info! :evilgrin: