rootfs/home/andre/.bashrc aktualisiert

This commit is contained in:
2026-01-10 18:59:25 +01:00
parent 5008d3042c
commit 215781ab36

View File

@@ -400,13 +400,13 @@ AddTimeDateToPictures () {
if [[ $J =~ ^[a-z0-9]+_[a-z0-9.]+_[0-9]+\.jpg$ ]]; then
FS2=$(bc -l <<< "$FS+25" | awk -F. '{print $1}')
convert $J -gravity South -pointsize $FS -font Courier-Bold -fill red -undercolor black -annotate +0+$FS2 "Position $POSITION" $J;
convert $J -gravity South -pointsize $FS -font Courier-10-Pitch-Regular -fill red -undercolor black -annotate +0+$FS2 "Position $POSITION" $J;
mv "$J" "I${J##*_}"
else
# zusammengesetzer datums-, zeitstring in bild einfügen (mittig oben)
convert $J -gravity North -pointsize $FS -font Courier-Bold -fill red -undercolor black -annotate +0+0 "Datum $DAY. $MONTH $YEAR Zeit $TIME" $J;
convert $J -gravity North -pointsize $FS -font Courier-10-Pitch-Regular -fill red -undercolor black -annotate +0+0 "Datum $DAY. $MONTH $YEAR Zeit $TIME" $J;
FS2=$(bc -l <<< "$FS+25" | awk -F. '{print $1}')
convert $J -gravity North -pointsize $FS -font Courier-Bold -fill red -undercolor black -annotate +0+$FS2 "Position $POSITION" $J;
convert $J -gravity North -pointsize $FS -font Courier-10-Pitch-Regular -fill red -undercolor black -annotate +0+$FS2 "Position $POSITION" $J;
fi