-
-
Save leandrofavarin/ab5b7e773a2d520a0ecd to your computer and use it in GitHub Desktop.
Prevent 'Android File Transfer' from opening when a device is connected
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
pkill -9 "Android\ File\ Transfer\ Agent" | |
rm -r ~/Library/Application\ Support/Google/Android\ File\ Transfer/Android\ File\ Transfer\ Agent.app | |
cd /Applications/Android\ File\ Transfer.app/Contents/Resources | |
mv Android\ File\ Transfer\ Agent.app Android\ File\ Transfer\ Agent.app.DISABLED |
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
mv Android\ File\ Transfer\ Agent.app.DISABLED Android\ File\ Transfer\ Agent.app |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment