Explorar el Código

adb: add push, pull and devices commands (#1166)

Eric Rösch hace 8 años
padre
commit
1928329a65
Se han modificado 1 ficheros con 12 adiciones y 0 borrados
  1. 12 0
      pages/common/adb.md

+ 12 - 0
pages/common/adb.md

@@ -17,3 +17,15 @@
 - Push an Android application to an emulator/device:
 
 `adb install -r {{path/to/file.apk}}`
+
+- Copy a file/folder from the target device:
+
+`adb pull {{path/to/device_file_or_folder}} {{path/to/local_destination_folder}}`
+
+- Copy a file/folder to the target device:
+
+`adb push {{path/to/local_file_or_folder}} {{path/to/device_destination_folder}}`
+
+- Get a list of connected devices:
+
+`adb devices`