Last active
November 16, 2022 07:15
-
-
Save dlozeve/a36d0d5f4ed33a6cbd9029a5387839f3 to your computer and use it in GitHub Desktop.
Edit EXIF metadata of a file interactively
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env zsh | |
exifedit() { | |
local title=$(exiftool -T -Title $1) | |
local author=$(exiftool -T -Author $1) | |
vared -p "Title: " title | |
vared -p "Author(s): " author | |
exiftool -Author=$author -Title=$title -overwrite_original $1 | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment