exiftool: Add "-gps*=" removal example (#9522)
* exiftool: Add "-gps*=" removal example A common use of exiftool is removing location data from photos. One may wish to preserve most EXIF data (ex. rotation, date/time taken, etc.) but remove private location data. This example accomplishes this common task. The proposed example comes from exiftool's author, Phil Harvey: https://exiftool.org/forum/index.php?topic=6037.msg29731#msg29731 This example works to not only remove GPS data from EXIF but also from Adobe's XMP tags. Tested with JPEG and HEIC photos using exiftool 12.50.
This commit is contained in:
@@ -11,6 +11,10 @@
|
||||
|
||||
`exiftool -All= {{file1 file2 ...}}`
|
||||
|
||||
- Remove GPS EXIF metadata from given image files:
|
||||
|
||||
`exiftool "-gps*=" {{path/to/image1 path/to/image2 ...}}`
|
||||
|
||||
- Remove all EXIF metadata from the given image files, then re-add metadata for color and orientation:
|
||||
|
||||
`exiftool -All= -tagsfromfile @ -colorspacetags -orientation {{image1 image2 ...}}`
|
||||
|
Reference in New Issue
Block a user