A very simple photoshop action script can do this:
https://www.creativebloq.com/adobe/c...tions-61411918
1 - Press record
2 - Go to Image->Image size and set the correct image size
3 - Go to File-> Export for web
4 - Find the correct settings (most probably Jpeg, Medium compression with Progressif and EXIF removed)
5 - Click on Save and choose where to save your new file (with original name)
6 - Click on stop recording
For every file, just press play and it will repeat the actions.
Note: I've simplified the process, there may be additional steps to achieve what you are trying to do.