Archive

As part of working Apple File System, I’ve developed a script which is designed to check and report the status of encrypted Apple File System (APFS) drives. Currently, here’s what the script is detecting and reporting:

It first checks to see if a Mac is running 10.13.x or higher. If the Mac is question is running 10.13.x or higher, the script reports if it is using encryption on an APFS drive and gives the encryption or decryption status.

If encrypted, the following message is displayed:

FileVault is On.

If not encrypted, the following message is displayed:

FileVault is Off.

If encrypting, the following message is displayed:

Encryption in progress:

How much has been encrypted is also displayed.

If decrypting, the following message is displayed without quotes:

Decryption in progress:

How much has been decrypted is also displayed.

If run on a drive which is not using APFS, the following message is displayed: