mirror of
https://github.com/sunknudsen/privacy-guides.git
synced 2025-02-23 17:43:56 +00:00
48 lines
1.3 KiB
Markdown
48 lines
1.3 KiB
Markdown
<!--
|
|
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
|
|
|
|
[](https://www.youtube.com/watch?v=mVMGiMFGgsU "How to remove EXIF metadata from images on macOS to prevent geolocation and hardware leaks - YouTube")
|
|
|
|
## 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
|
|
```
|