Search found 2 matches
- 2013-08-05T10:00:03-07:00
- Forum: Users
- Topic: Shell scripting with variables / convert text
- Replies: 4
- Views: 13265
Re: Shell scripting with variables / convert text
@All, thanks a lot. It worked fine with annotate. I use this in a Debian shell script which runs via crontab every five minutes. In $pt I put the whole string: text plus time. /usr/bin/convert $impn -resize 1024 -font Kievit.ttf -fill white -pointsize 20 -annotate 0x0+20+720 "$pt" $impk
- 2013-08-04T12:47:47-07:00
- Forum: Users
- Topic: Shell scripting with variables / convert text
- Replies: 4
- Views: 13265
Shell scripting with variables / convert text
Hi, I'm quite new to this stuff. I've got a webcam which produces jpg-files. These files should get a timestamp via the convert command. All work should be done in a shell script. I tried on command line first: irt=`date +%e.' '%B' '%Y' '%H:%M' Uhr'` This writes the actual time into "irt". > echo ...