xxwhirlpool
·
2026-03-10
stripexif
1#!/usr/bin/env bash
2
3if [[ ! "$(command -v exiftool)" ]]; then
4 echo "missing required dependency: exiftool"
5 exit 1
6fi
7
8if [[ $# -eq 0 ]]; then
9 echo "Usage: stripexif [FILENAME]"
10 exit 1
11fi
12
13exiftool -all:all= -tagsfromfile @ -exif:Orientation "$1"