<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Launchd on kyk's blog</title><link>https://kyktommy.github.io/tags/launchd/</link><description>Recent content in Launchd on kyk's blog</description><generator>Hugo -- gohugo.io</generator><language>en-us</language><lastBuildDate>Sun, 05 Apr 2026 10:29:58 +0800</lastBuildDate><atom:link href="https://kyktommy.github.io/tags/launchd/index.xml" rel="self" type="application/rss+xml"/><item><title>Launchd Auto</title><link>https://kyktommy.github.io/posts/launchd-auto/</link><pubDate>Sun, 05 Apr 2026 10:29:58 +0800</pubDate><guid>https://kyktommy.github.io/posts/launchd-auto/</guid><description>Example:
Automatically renames Jamf Connect.app to Jamf Connect 2.app the instant it appears in /Applications, using macOS-native launchd with kernel-level FSEvents (WatchPaths). Zero polling, zero lag.
Overview Trigger Action Jamf Connect.app appears in /Applications ⚡ Fires immediately via WatchPaths Mac boots / wakes from sleep 🔄 Runs once via RunAtLoad Every day at 12:00 noon 🕛 Runs as final safety net Step 1: Create the Rename Script sudo nano /usr/local/bin/rename_jamf.sh Paste the following:</description></item></channel></rss>