author | František Kučera <franta-hg@frantovo.cz> |
Tue, 04 Dec 2018 17:27:24 +0100 | |
branch | v_0 |
changeset 178 | 674b4e3b2f14 |
parent 171 | 1b5bf1029a9c |
permissions | -rwxr-xr-x |
#!/bin/bash FILE="$1"; COMMENT="$2"; COPYRIGHT="Relational pipes (c) $(date +%Y) Frantisek Kucera, Frantovo.cz, GlobalCode.info; copylefted under the GNU FDLv1.3+ license"; # 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";