Last active
August 29, 2015 14:07
-
-
Save aculich/ebf1d6647429b88f3071 to your computer and use it in GitHub Desktop.
This file contains 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
# List of all downloaded files from system's Quarantine Manager sqlite db | |
echo "select LSQuarantineAgentName from LSQuarantineEvent where LSQuarantineAgentName not like 'Google Chrome%';" | sqlite3 ~/Library/Preferences/com.apple.LaunchServices.QuarantineEventsV2 | |
# Set default mail app to GMail through command line without going through Mail.app setup process | |
defaults write com.apple.LaunchServices.plist LSHandlers -array-add '{LSHandlerRoleAll=com.google.gmailnotifier;LSHandlerURLScheme=mailto;}' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment