<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>shell scripting – apt-upgrade.me – Homelab, Linux &amp; DevSecOps</title><link>https://www.apt-upgrade.me/tag/shell-scripting/</link><description>One nerd's homelab: Linux, Kubernetes, security, and the occasional disaster.</description><language>en-GB</language><lastBuildDate>Fri, 05 Jun 2026 20:00:00 +0200</lastBuildDate><atom:link href="https://www.apt-upgrade.me/tag/shell-scripting/index.xml" rel="self" type="application/rss+xml"/><item><title>Replacing Cron Jobs with Jenkins for Nextcloud Backups 🚀</title><link>https://www.apt-upgrade.me/2026/06/05/replacing-cron-jobs-with-jenkins-for-nextcloud-backups-%F0%9F%9A%80/</link><pubDate>Fri, 05 Jun 2026 20:00:00 +0200</pubDate><guid>https://www.apt-upgrade.me/2026/06/05/replacing-cron-jobs-with-jenkins-for-nextcloud-backups-%F0%9F%9A%80/</guid><description>&lt;p&gt;&lt;strong&gt;In short:&lt;/strong&gt; Two cron jobs backed up my Nextclouds every night – reliably, but without any overview of whether a backup had failed three days or three weeks ago. Now &lt;a href="https://www.jenkins.io/"&gt;Jenkins&lt;/a&gt; starts the two backup scripts and shows history, duration and output in a web interface. Plus a trick to save job configurations as XML.&lt;/p&gt;&#10;&lt;p&gt;Today I spent some time exploring &lt;strong&gt;Jenkins&lt;/strong&gt; in my homelab environment.&lt;/p&gt;&#10;&lt;p&gt;For those who somehow managed to avoid Jenkins during the last decade: Jenkins is one of the most widely used open-source automation servers available today. Originally released in 2011 as a fork of the Hudson project, Jenkins has become one of the cornerstones of modern DevOps workflows. It is primarily used for Continuous Integration (CI) and Continuous Delivery (CD), automating software builds, tests, deployments, and all kinds of recurring administrative tasks. If a process can be automated, Jenkins can probably handle it. 😎&lt;/p&gt;</description></item><item><title>🧼 Cleaning Up Filenames on Linux with detox – The Tiny Tool That Saved My Backups</title><link>https://www.apt-upgrade.me/2025/07/24/%F0%9F%A7%BC-cleaning-up-filenames-on-linux-with-detox-the-tiny-tool-that-saved-my-backups/</link><pubDate>Thu, 24 Jul 2025 20:00:00 +0200</pubDate><guid>https://www.apt-upgrade.me/2025/07/24/%F0%9F%A7%BC-cleaning-up-filenames-on-linux-with-detox-the-tiny-tool-that-saved-my-backups/</guid><description>&lt;p&gt;&lt;strong&gt;In short:&lt;/strong&gt; One of my backups broke off mid-run without a useful error message – the culprit was a single file with a non-conforming name. The little tool &lt;code&gt;detox&lt;/code&gt; cleans up such file names. The post shows installation, usage and examples, recommended schemes and how &lt;a href="https://github.com/dharple/detox"&gt;detox&lt;/a&gt; is now a fixed part of my backup pipeline with &lt;a href="https://rdiff-backup.net/"&gt;rdiff-backup&lt;/a&gt;.&lt;/p&gt;&#10;&lt;h3 id="-when-a-backup-fails-because-of-a-filename"&gt;😤 When a Backup Fails... Because of a Filename&lt;/h3&gt;&#10;&lt;p&gt;Recently, one of my automated backups on Linux unexpectedly &lt;strong&gt;crashed mid-run&lt;/strong&gt;. No fancy error message, no graceful fallback — just a silent abort.&lt;/p&gt;</description></item></channel></rss>