検索条件
全2件
(1/1ページ)
#!/bin/bash # 引数の説明 # $1: 操作対象パス(ファイル)リストが記載されたファイル. # SEIREKI_BACKQUOTE="\`" # "`"はグレイヴアクセント.西暦の略記はアポストロフィ“'”. SEIREKI_BACKQUOTE=`echo -e "\U0027"` # グレイヴアクセントや文字コード指定がsed中で上手くエスケープできないので変数に分けた. while read IMAGENAME # $1の各行に記載された画像ファイルのパス. do echo "\"${IMAGENAME}\"の撮影日時の取得……" DateTimeOriginal=`identify -verbose ${IMAGENAME} | grep "DateTimeOriginal" | sed -e "s/^.*exif:DateTimeOriginal: //g" | sed -e "s/ .*$//g" | sed -e "s/:/ /g" | sed -e "s/20/${SEIREKI_BACKQUOTE}/g" ` echo "${DateTimeOriginal}" OUTPUT_IMAGENAME=`echo "${IMAGENAME}.jpg"` echo "出力ファイル名: ${OUTPUT_IMAGENAME}" convert -resize 3096x2064 -font DSEG14-Classic-Bold -fill orange -pointsize 100 -gravity southeast -annotate 0x0+300+150 "${DateTimeOriginal}" ${IMAGENAME} ${OUTPUT_IMAGENAME} done < $1
[root@server ~]# certbot delete Saving debug log to /var/log/letsencrypt/letsencrypt.log Which certificate(s) would you like to delete? - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - 1: ac206223.ppp.asahi-net.or.jp 2: cshs-small-worlds.aa0.netvolante.jp - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - Select the appropriate numbers separated by commas and/or spaces, or leave input blank to select all options shown (Enter 'c' to cancel): 1 - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - The following certificate(s) are selected for deletion: * ac206223.ppp.asahi-net.or.jp WARNING: Before continuing, ensure that the listed certificates are not being used by any installed server software (e.g. Apache, nginx, mail servers). Deleting a certificate that is still being used will cause the server software to stop working. See https://certbot.org/deleting-certs for information on deleting certificates safely. Are you sure you want to delete the above certificate(s)? - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - (Y)es/(N)o: Y Deleted all files relating to certificate ac206223.ppp.asahi-net.or.jp. [root@server ~]# systemctl restart httpd [root@server ~]#