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