I was just uploading photos to an online service, but wanted without my phone model data and also without location.
ImageMagick luckily has a nice CLI tool mogrify
which has strip option.
So the following is enough magic and easy to get rid of those metadata
mogrify -strip /tmp/photos/*