Install Android Command Line Tools

$ brew cask install android-platform-tools

link

List Devices

$ adb devices

CLI Access

$ adb shell

Backup

$ adb backup -apk -noshared -all ~/Documents/android-backup-20170504.ab

Restore

$ adb restore ~/Documents/android-backup-20170504.ab

Clear Cache

$ rm -r /data/dalvik-cache

Copy files from Android device to local storage

$ adb pull /storage/292A-0FE1/Music/* /Volumes/128GB_MSD/music

Sync files between devices

$ adb push --sync /Volumes/128GB_MSD/music /storage/292A-0FE1/Music
  • Movies
  • Downloads
  • Pictures