46 lines
969 B
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
## Installation guide
**Step 1: install [Homebrew](https://brew.sh/)**
```shell
/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install.sh)"
```
**Step 2: disable analytics**
```shell
brew analytics off
```
**Step 3: install [ExifTool](https://exiftool.org/)**
```shell
brew install exiftool
```
---
## Usage guide
**View EXIF metadata**
```shell
exiftool -n /path/to/image.jpg
```
**Remove EXIF metadata**
```shell
exiftool -all= /path/to/image.jpg
```