Install exiftool apt install -y exiftool


Use EXIFTOOL

If you want to loop thru folder (this assumes no spaces in file names) for a in *.jpg; do exiftool -all= "${a}"; done

If you want to only do a specific file do exiftool -all= file.jpg