# HG changeset patch # User František Kučera # Date 1544196420 -3600 # Node ID a58a620b2ee43d4bc59fbd4228841a15c35b88aa # Parent dbd10bb73ce021f8cc2ed209f2eff7de3899ebe2 fix typo diff -r dbd10bb73ce0 -r a58a620b2ee4 scripts/image-coment.sh --- a/scripts/image-coment.sh Fri Dec 07 15:02:02 2018 +0100 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,8 +0,0 @@ -#!/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"; diff -r dbd10bb73ce0 -r a58a620b2ee4 scripts/image-comment.sh --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/scripts/image-comment.sh Fri Dec 07 16:27:00 2018 +0100 @@ -0,0 +1,8 @@ +#!/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";