Skip to main content

Recently Updated Pages

Delete HEIC files that already have a JPG copy

Linux & Docker Admin Scripts Photos, Files & Raspberry Pi

Location: /opt/scripts/docker_scripts/delete_heic_jpg.sh and /opt/scripts/docker_scripts/delete_j...

Updated 2 weeks ago by Admin

Convert images in bulk (convert_images.sh)

Linux & Docker Admin Scripts Photos, Files & Raspberry Pi

Location: /opt/scripts/docker_scripts/convert_images.sh (68 lines) Purpose Converts HEIC photos (...

Updated 2 weeks ago by Admin

Set the "date taken" on photos with ExifTool

Linux & Docker Admin Scripts Photos, Files & Raspberry Pi

Scanned or undated photos often have no EXIF date, so photo libraries (Immich, PhotoPrism, Synolo...

Updated 2 weeks ago by Admin

Remove movie folders that have no video files (safely)

Linux & Docker Admin Scripts Docker & Media Library

Over time a movie library collects folders that hold only posters, .nfo files or subtitles, becau...

Updated 2 weeks ago by Admin

Clean up leftover {tmdb-...} folders in a media library

Linux & Docker Admin Scripts Docker & Media Library

Media managers (Radarr, Sonarr, Jellyfin) name folders like Movie (2020) {tmdb-12345}. When an it...

Updated 2 weeks ago by Admin

A menu script for Docker media containers, with a VPN routing check

Linux & Docker Admin Scripts Docker & Media Library

If you run a group of media containers (the *arr apps, download clients, flaresolverr and so on),...

Updated 2 weeks ago by Admin

Reliable Let's Encrypt renewals on RHEL / Rocky

Linux & Docker Admin Scripts Scheduling & Certificates

A certificate can only be renewed in its last 30 days. A cron job that tries once a month can mis...

Updated 2 weeks ago by Admin

Deploy cron jobs to many servers from one script folder

Linux & Docker Admin Scripts Scheduling & Certificates

A lightweight way to manage scheduled jobs on a handful of Linux servers without Ansible. Keep on...

Updated 2 weeks ago by Admin

Pull server backups onto a Synology NAS with rsync over SSH

Linux & Docker Admin Scripts Backups

Instead of letting servers write to the NAS, have the NAS pull from them. If a server is compromi...

Updated 2 weeks ago by Admin

Back up Docker container data folders (stop, archive, restart)

Linux & Docker Admin Scripts Backups

For apps whose data can't be copied safely while they are running, the simple, reliable method is...

Updated 2 weeks ago by Admin

Back up Docker app SQLite databases without stopping containers

Linux & Docker Admin Scripts Backups

Most self-hosted media apps (Plex, Jellyfin, Sonarr, Radarr, Lidarr, Prowlarr, Bazarr, Tautulli, ...

Updated 2 weeks ago by Admin

Back up an OpenProject (package install) to a NAS

Linux & Docker Admin Scripts Backups

The packaged OpenProject (DEB/RPM) has its own backup command. It writes a database dump plus arc...

Updated 2 weeks ago by Admin

Set up .pgpass for PostgreSQL backups

Linux & Docker Admin Scripts Backups

If your backups connect over TCP or as a user other than postgres, pg_dump needs a password. Put ...

Updated 2 weeks ago by Admin

Back up every database on several PostgreSQL versions

Linux & Docker Admin Scripts Backups

On RHEL, Rocky and Alma, PGDG packages let PostgreSQL 16 and 17 (for example) run side by side, e...

Updated 2 weeks ago by Admin

Store MySQL / MariaDB backup credentials safely

Linux & Docker Admin Scripts Backups

Backup scripts shouldn't contain a database password. Store the login once for the account that r...

Updated 2 weeks ago by Admin

MySQL / MariaDB backups to a NAS

Linux & Docker Admin Scripts Backups

Dump every database to its own compressed file, keep a few days, and fail loudly when something i...

Updated 2 weeks ago by Admin

Full operating-system tar backup of a Linux server

Linux & Docker Admin Scripts Backups

A simple bare-bones backup: one compressed tarball of the whole root filesystem, minus the folder...

Updated 2 weeks ago by Admin

Email yourself an internet speed test report

Linux & Docker Admin Scripts Monitoring & Server Setup

Run Ookla's speed test on a Linux box and email the result, for example to keep a record of your ...

Updated 2 weeks ago by Admin

List listening ports and the programs using them

Linux & Docker Admin Scripts Monitoring & Server Setup

Before you publish a new container port, check what is already listening. ss shows everything; th...

Updated 2 weeks ago by Admin

A production warning banner, safer aliases and a colour prompt for every login

Linux & Docker Admin Scripts Monitoring & Server Setup

Drop-in files in /etc/profile.d/ apply to every user's login shell. Here are three small ones. 1....

Updated 2 weeks ago by Admin