Sometimes you have a bunch of files, for example a bunch of images, which name consists of just a number and an extension. When you want to process them further sorting them will sometimes fail when they are not prefixed with a zero. That’s easily solved in a one-liner
Continue reading “Rename numbered files”Tag: Bash
Monitor certificate expiration (hosts)
In another Blog Post (Monitor certificate expiration) I showed a small script which checks local certificates for their expiration date and warns when it is near. This due to the fact that lets-encrypt does not send out warning mails anymore.
Checking a remote host is also something that a small bash script can do.
Continue reading “Monitor certificate expiration (hosts)”Monitor certificate expiration
Lately I got a message from lets-encrypt stating they are ending the notification mails they send out to remind you of certificates expiring. As I do have lets-encrypt certificates which are not auto renewed because of the challenge mechanism I liked those messages.
But nothing that a small bash script can’t fix.
Continue reading “Monitor certificate expiration”