Hi,
ich habe da mal eine Anfängerfrage, bei der ich nicht weiterkomme.
Dies ist ein Kommando, das funktioniert:
1 | convert -pointsize 20 -fill black -draw 'text 700, 20 "20:00"' ../screenshot_00000.jpg screenshot_00000.jpg |
Das funktioniert. Nun will ich aber den Text 20:00 ersetzen durch den Inhalt einer Variablen und das klappt bei mir nicht. So sieht das momentan in meinem Skript aus:
text_to_file="20:00" convert -pointsize 20 -fill black -draw 'text 700, 20 "$text_to_file"' ../screenshot_00000.jpg screenshot_00000.jpg
Im Bild steht dann an der Position $text_to_file, also nicht 20:00
Wie bekomme ich den Inhalt dort hin?
Schönen Gruß AugustQ