Thanks for the suggestion but that doesnât seem to work for an encrypted APFS SSD. the terminal shows an error then the following explanation: This is an encrypted and locked APFS Volume; use âdiskutil apfs unlockVolumeâ
diskutil apfs unlockVolume will create a new virtual /dev/diskX volume that you can mount with disktuil mount. The new virtual volume will show with the âsynthesizedâ tag in diskutil list.
You could use a shell script to run diskutil list, grep the disk name and extract the last column (the device file), then pass that info to diskutil apsf unlockVolume.
Makes for a fun Sunday Afternoon in Stackoverflow learning shell scripting.
Edit: also, not being pedantic, Iâm away fro. The computer.
Just remove the âechoâ if everything seems ok to run the proper command.
As you are a dangerous terminal user, I would suggest to first try the stuff (i.e. creating and debugging the script file, giving it execution permissions and so on) in the terminal before attempting to run it from Keyboard Maestro.