- Close Android File Transfer
- Open Activity Monitor and kill “Android File Transfer Agent”
- Go to where you installed “Android File Transfer.app” (I have it under /Applications)
- Ctrl+click –> “Show package contents”
- Go to Contents/Resources
- Rename “Android File Transfer Agent” to e.g. “Android File Transfer Agent_DISABLED”
- Then go to “/Users/username/Library/Application Support/Google/Android File Transfer” and again rename the Agent app.
-
Star
(221)
You must be signed in to star a gist -
Fork
(13)
You must be signed in to fork a gist
-
-
Save zeroseis/ce66d4c6b776577442a6 to your computer and use it in GitHub Desktop.
This is too radical. I'd suggest going to the System Preferences / Users & Groups / / Login Items and removing "Android File Transfer Agent" from the list. This way you will still be able to launch it when you need it.
@alg This does work. thank you! (I just needed to kill/stop the agent process manually after removing it from the list as you suggested)
6 yrs later, Thanks!
I tried all solutions but this one was the simplest and the best one of for me.
I dragged the Android File Transfer icon to Trash.
Lol
Best idea, so tired ✌️
@krischik Fixed the missing check for
${HOME}/Library/Application Support/Google/Android File Transfer/Android File Transfer Agent.app.The updated script
#!/bin/zsh typeset PID=$(ps -fe | grep "[A]ndroid File Transfer Agent" | awk '{print $2}') if [[ -n ${PID} ]]; then kill ${PID} fi for AFT in \ "/Applications/Android File Transfer.app" \ "/Applications/Sync/Android File Transfer.app" \ "${HOME}/Library/Application Support/Google/Android File Transfer" do echo "### Look for agents in “${AFT}”" if test -e "${AFT}"; then for AFTA in \ "${AFT}/Contents/Resources/Android File Transfer Agent.app" \ "${AFT}/Contents/Helpers/Android File Transfer Agent.app" \ "${AFT}/Android File Transfer Agent.app" do echo "# Look for agent “${AFTA}”" if test -e "${AFTA}"; then mv -v "${AFTA}" "${AFTA}.DISABLE" fi done; unset AFTA fi done; unset AFT osascript -e 'tell application "System Events" to delete every login item whose name is "Android File Transfer Agent"'
Smooth
Is there any way to copy/sync all data while preserving creation dates
Works for me. Thanks.