dots


commit
a677b2d
parent
eb07519
author
xxwhirlpool
date
2026-03-04 17:48:13 -0500 EST
strip exif data
1 files changed,  +13, -0
A config/.local/bin/stripexif
+13, -0
 1@@ -0,0 +1,13 @@
 2+#!/usr/bin/env bash
 3+
 4+if ! test -x "$(command -v exiftool)"; then
 5+	echo "missing required dependency: exiftool"
 6+	exit 1
 7+fi
 8+
 9+if [ "$1" == "" ]; then
10+	echo "please specify an image path"
11+	exit 1
12+else
13+	exiftool -all:all= -tagsfromfile @ -exif:Orientation "$1"
14+fi