author | František Kučera <franta-hg@frantovo.cz> |
Thu, 24 Oct 2019 21:52:34 +0200 | |
branch | v_0 |
changeset 139 | 0246f4b2c827 |
parent 137 | 8e583c8df660 |
permissions | -rwxr-xr-x |
#!/bin/bash FILE="$1"; COMMENT="$2"; COPYRIGHT="Mouse utilities (c) $(date +%Y) Frantisek Kucera, Frantovo.cz, GlobalCode.info; copylefted under the GNU FDLv1.3+ license; source: https://mouse.globalcode.info/"; # this tag should be in ASCII, see http://www.exiv2.org/tags.html [ -n "$FILE" ] && exiv2 -M "set Exif.Image.Copyright $COPYRIGHT" "$FILE"; [ -n "$COMMENT" ] && exiv2 -M "set Exif.Photo.UserComment charset=Unicode $COMMENT" "$FILE";