Last active
June 19, 2019 12:39
-
-
Save kopiro/528dc6b6a06f935f493ccfe61a5bace5 to your computer and use it in GitHub Desktop.
Get Apple ID email in OSX
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/sh | |
dscl . readpl "/Users/$(whoami)" dsAttrTypeNative:LinkedIdentity "appleid.apple.com:linked identities:0:full name" | awk '{print $4}' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment