Scripting macOS, part 2: The Script File
This series is an excerpt from the first chapter of my upcoming book "Scripting macOS" which will teach you to use and create shell scripts on macOS.

Part 1: First ScriptPart 2: The Script FilePart 3: The CodePart 4: Running the ScriptPart 5: Lists of CommandsPart 6: Turning it off and on again

I will publish one part every week over the summer. Enjoy!

The Script Fi
scriptingosx.com/2021/07/scrip

Weekly News Summary for Admins — 2021-07-23
Apple realeased iOS 14.7, with watchOS and tvOS updates as well. Later in the week, on Wednesday we got macOS 11.5 and iPadOS 14.7. iOS 14.7 brings support for the new battery pack. For MacAdmins, macOS 11.5 finally delivers an option to lock booting to Recovery and a device lock for Apple Silicon Macs.

(Sponsor: SentinelOne)

Bypassing ma
scriptingosx.com/2021/07/scrip

Weekly News Summary for Admins — 2021-07-23
Apple realeased iOS 14.7, with watchOS and tvOS updates as well. Later in the week, on Wednesday we got macOS 11.5 and iPadOS 14.7. iOS 14.7 brings support for the new battery pack. For MacAdmins, macOS 11.5 finally delivers an option to lock booting to Recovery and a device lock for Apple Silicon Macs.

(Sponsor: SentinelOne)

Bypassing ma
scriptingosx.com/2021/07/scrip

News Summary for Admins — 2021-07-23
Apple realeased iOS 14.7, with watchOS and tvOS updates as well. Later in the week, on Wednesday we got macOS 11.5 and iPadOS 14.7. iOS 14.7 brings support for the new battery pack. For MacAdmins, macOS 11.5 finally delivers an option to lock booting to Recovery and a device lock for Apple Silicon Macs.

(Sponsor: SentinelOne)

Bypassing macOS TCC
scriptingosx.com/2021/07/scrip

Scripting macOS, part 1: First Script
This series is an excerpt from the first chapter of my upcoming book "Scripting macOS" which will teach you to use and create shell scripts on macOS.

Part 1: First ScriptPart 2: The Script FilePart 3: The CodePart 4: Running the ScriptPart 5: Lists of CommandsPart 6: Turning it off and on again

I will publish one part every week over the summer. Enjoy!

First Script

Whe
scriptingosx.com/2021/07/scrip

Suspicious Package Power User Features
As many MacAdmins, I work a lot with installer packages. You can say I wrote the book about it. When you get an installer package from some vendor website, you will want to inspect it before you install it anywhere, let alone deploy it to dozens, hundreds, or even thousands of Macs in your fleet.

You can use the pkgutil tool to do this in the command line, but there are pac
scriptingosx.com/2021/07/suspi

Weekly News Summary for Admins — 2021-07-16
In a break from our usual blogging, Anthony Reimer and I did a product review. He will explain the background and the tracking part, and I reviewed the receiving end.

An AirTag Adventure, Part 1: AirTag Across the Atlantic – Anthony ReimerAn AirTag Adventure, Part 2: Receiving an AirTag – Armin Briegel

(Sponsor: Mosyle)

The Fusion of Apple MDM, Ident
scriptingosx.com/2021/07/weekl

Installomator v0.6
We have posted an update for Installomator, which brings it to v0.6.

The changes are as follows:

several new and updated labels, for a total of 302versionKey variable can be used to choose which Info.plist key to get the version froman appCustomVersion() {} function can now be used in a labelwith INSTALL=force, the script will not be using updateTool, but will reinstall insteadadded quit and quit_kill options
scriptingosx.com/2021/07/insta

An AirTag Adventure, Part 2—Receiving an AirTag
Anthony Reimer and I had a lot of fun sending an AirTag across the Atlantic. Now we get to the experience of being on the receiving side.

"AirTag Found Moving With You"

The "Find My" network warns you when an unknown AirTag is moving with you. This is to prevent tracking people without their approval. Since Anthony had registered the AirTag on his acco
scriptingosx.com/2021/07/an-ai

Scripting OS X — Weekly News Summary for Admins — 2021-07-09
Summer doldrums are here! This is a good thing, because it gives us MacAdmins more time to test the upcoming betas. You are testing and providing feedback, right?

Since I mentioned betas, macOS 11.5 and iOS 14.7 beta5 came out this week, as well!

(Sponsor: Mosyle)

The Fusion of Apple MDM, Identity, Patching & Securit
scriptingosx.com/2021/07/scrip

Notarize a Command Line Tool with notarytool
When Apple introduced notarization with Catalina, I published a post describing how to notarize a command line tool. At WWDC this year, Apple introduced updates to this process with Xcode 13 (currently in beta). Most importantly, there is a new command line tool called notarytool.

While the previous, altool-based, workflow still works in Xcode 13, there are many
scriptingosx.com/2021/07/notar

Weekly News Summary for Admins — 2021–07–02
We made it halfway through 2021 already… How did that happen?

If you were hoping things would calm down for the summer, we got new macOS 11.5/iOS 14.7 betas and macOS 12 Monterey beta2! Apple has also released iOS 15 and macOS 12 beta2 as in the public beta program. You are testing and providing feedback to Apple and the other software vendors, right?

(
scriptingosx.com/2021/07/weekl

Weekly News Summary for Admins — 2021-06-25
Things are settling down after WWDC and we are slowly cruising into the quieter summer weeks. (Northern hemisphere. Our southern hemisphere friends are in the deeps of winter. This week was solstice!)

We did get new betas for Xcode 13, iOS 15 and siblings yesterday. No Monterey beta 2 yet, but hopefully soon!

(Sponsor: Mosyle)

Free Remote Scripting with
scriptingosx.com/2021/06/weekl

Download Full Installer
A while back I wrote up a blog post on deploying the Install macOS Big Sur application. As one of the solutions, I posted a script (based on Greg Neagle's installinstallmacos.py) which listed the pkgs from Apple's software update catalogs so you could download them.

During and after WWDC, I wanted to see if I could build a SwiftUI app. I thought that building a user interface for this task would be a ni
scriptingosx.com/2021/06/downl

MacDeployment and MacDevOps YVR Presentations
I am a bit behind: the videos for both presentations I did in the last weeks at MacDeployment and MacDevOps YVR are now available. I made pages for each presentation with links to the slides, videos, and all the links I mentioned:

MacDeployment: An Online Presentation on Presenting OnlineMacDevOps YVR: The Encyclopedia of Packages

I had a really good time p
scriptingosx.com/2021/06/macde

The Encylopaedia of Packages – MacDevOps YVR ’21
Illustration by Ashton Rodenhiser (Twitter, Web)

These are the notes and links for my presentation at MacDevOps YVR '21.

Keynote Document on iCloudVideoMacDevOps YVR '21 Session Playlist

Further Reading

Packaging for Apple AdministratorsOn Distribution PackagesPlatform Support in macOS Installer PackagesFlat Package Format: The missing documentation – Stéphane SudreAbout Distribution Definit
scriptingosx.com/mdo21/

Scripting OS X — Weekly News Summary for Admins — 2021-06-18
While attending WWDC and MacDevOps YVR last week – or at least attempting to – I realized that you can get real jet lag from virtual conferences.

Many people are catching up to the news from WWDC last week with many posts reacting to and/or summarizing the news. We also a patch for iOS 12 and and new macOS 11.5/iOS 14.7 betas.

scriptingosx.com/2021/06/scrip

Scripting OS X — Weekly News Summary for Admins — 2021-06-18
While attending WWDC and MacDevOps YVR last week – or at least attempting to – I realized that you can get real jet lag from virtual conferences.

Many people are catching up to the news from WWDC last week with many posts reacting to and/or summarizing the news. We also a patch for iOS 12 and and new macOS 11.5/iOS 14.7 betas.

scriptingosx.com/2021/06/scrip

Scripting OS X — Weekly News Summary for Admins — 2021-06-11
WWDC week! We got to see new iOS, iPadOS, watchOS and most importantly: the new macOS 12 Monterey.

What a week (or two). In addition to WWDC, there were and are MacDeployment last week and MacDevOps YVR this week. It is a good thing that all the sessions (including WWDC) will be made available online, because I have a lot of catch
scriptingosx.com/2021/06/scrip

WWDC 2021 – What to watch for MacAdmins
So, WWDC started yesterday and Apple will release more than 200 sessions over the next week. Of course, most of these sessions are focussed on developers building apps for the Apple platforms. As a Mac and iOS admin, which sessions are interesting?

Of course, we won't know which sessions are good until we can watch them. But here is the list of sessions that I expect to b
scriptingosx.com/2021/06/wwdc-

Show older
Mastodon

Server run by the main developers of the project 🐘 It is not focused on any particular niche interest - everyone is welcome as long as you follow our code of conduct!