Read and modify Exif data with ExifTool by Phil Harvey by Phil Harvey

Read data

 exiftool /path/to/image
ExifTool Version Number         : 12.76
File Name                       : IMG_20240804_165638.jpg_original
Directory                       : .
File Size                       : 5.1 MB
File Modification Date/Time     : 2024:08:04 16:56:42+03:00
File Access Date/Time           : 2024:08:04 16:57:16+03:00
File Inode Change Date/Time     : 2024:08:04 16:58:11+03:00
File Permissions                : -rw-r--r--
File Type                       : JPEG
File Type Extension             : jpg
MIME Type                       : image/jpeg
Exif Byte Order                 : Big-endian (Motorola, MM)
Y Resolution                    : 72
X Resolution                    : 72
Camera Model Name               : HD1913
Make                            : OnePlus
Y Cb Cr Positioning             : Centered
Exif Version                    : 0220
Aperture Value                  : 2.2
Scene Type                      : Directly photographed
... # [cut for brevity]

Remove all data

 exiftool -All= /path/to/image

Remove GPS data

➜ exiftool "-gps*=" /path/to/image