mirror of
https://github.com/tldr-pages/tldr.git
synced 2025-08-04 04:55:32 +02:00
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:
parent
7d87482449
commit
e05c6828c5
1 changed files with 4 additions and 0 deletions
|
@ -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 ...}}`
|
||||
|
|
Loading…
Add table
Reference in a new issue