Skip to content

Instantly share code, notes, and snippets.

@brunogama
Created September 29, 2011 18:12
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save brunogama/1251473 to your computer and use it in GitHub Desktop.
Save brunogama/1251473 to your computer and use it in GitHub Desktop.
Force Malware Update Definitions (Mac OS Only)
updateMalwareDefinitions() {
sudo /usr/libexec/XProtectUpdater
echo "Last Malware Definitions $(defaults read /System/Library/CoreServices/CoreTypes.bundle/Contents/Resources/XProtect.meta LastModification)"
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment