I was look at how to remove exif data from photos I had copied to my Mac. I used AppleScript to achieve this:

https://gist.github.com/bmwasaru/f4f4242bfe29418a77fc2e0b5e74f59c

To use this:

  1. Open Script Editor on your Mac (found in Applications > Utilities).
  2. Paste the script
  3. Hit the run button

This script lets you select one or more images, uses the sips command with the -s formatOptions none option to remove the metadata. It makes a backup copy of the image with .backup extension.