find ./target -type d -empty -delete
ImageMagickでトリミング/クロッピングする
convert input.png -crop 640x480+40+30 output.png
macのdateコマンドで先月の日付を得る
date -v -1m +%Y%m%d
これで先月の今日の日付がYYYYMMDDのフォーマットで得られる。
pemファイルの有効期間を確認するコマンド
% openssl x509 -startdate -enddate -noout -in apns.pem notBefore=Sep 20 01:01:06 2016 GMT notAfter=Oct 20 01:01:06 2017 GMT
macでtar.gz作ってec2で展開すると警告が出た。
こんな警告が出た。
tar: 未知の拡張ヘッダキーワード `LIBARCHIVE.creationtime' を無視 tar: 未知の拡張ヘッダキーワード `SCHILY.dev' を無視 tar: 未知の拡張ヘッダキーワード `SCHILY.ino' を無視 tar: 未知の拡張ヘッダキーワード `SCHILY.nlink' を無視続きを読む