Skip to content

Instantly share code, notes, and snippets.

@mmousawy
Created March 16, 2019 19:05
Show Gist options
  • Save mmousawy/076464fffabd366b5f239eef5b461484 to your computer and use it in GitHub Desktop.
Save mmousawy/076464fffabd366b5f239eef5b461484 to your computer and use it in GitHub Desktop.
Android Debug Bridge (adb) pull and push commands

Check if device is connected and running

./adb devices

Pull files from device to directory

./adb pull "/sdcard/<filename or dir>" "<destination dir>"

Push files to device

./adb push "<source dir or file>" "/sdcard/<destination filename or dir>"

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment