48 lines
1.3 KiB
Markdown
Raw Normal View History

2020-06-25 13:56:31 -04:00
<!--
Title: How to remove EXIF metadata from images on macOS to prevent geolocation and hardware leaks
Description: Learn how to remove EXIF metadata from images on macOS to prevent geolocation and hardware leaks.
Author: Sun Knudsen <https://github.com/sunknudsen>
Contributors: Sun Knudsen <https://github.com/sunknudsen>
Publication date: 2020-06-25T00:00:00.000Z
-->
# How to remove EXIF metadata from images on macOS to prevent geolocation and hardware leaks
2020-07-09 19:55:54 -04:00
[![How to remove EXIF metadata from images on macOS to prevent geolocation and hardware leaks - YouTube](how-to-remove-exif-metadata-from-images-on-macos-to-prevent-geolocation-and-hardware-leaks.png)](https://www.youtube.com/watch?v=mVMGiMFGgsU "How to remove EXIF metadata from images on macOS to prevent geolocation and hardware leaks - YouTube")
2020-06-25 13:56:31 -04:00
## Installation guide
2020-08-02 06:55:08 -04:00
#### Step 1: install [Homebrew](https://brew.sh/)
2020-06-25 13:56:31 -04:00
```shell
/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install.sh)"
```
2020-08-02 06:55:08 -04:00
#### Step 2: disable analytics
2020-06-25 13:56:31 -04:00
```shell
brew analytics off
```
2020-08-02 06:55:08 -04:00
#### Step 3: install [ExifTool](https://exiftool.org/)
2020-06-25 13:56:31 -04:00
```shell
brew install exiftool
```
---
## Usage guide
2020-08-02 06:55:08 -04:00
#### View EXIF metadata
2020-06-25 13:56:31 -04:00
```shell
exiftool -n /path/to/image.jpg
```
2020-08-02 06:55:08 -04:00
#### Remove EXIF metadata
2020-06-25 13:56:31 -04:00
```shell
exiftool -all= /path/to/image.jpg
```