To push an entire directory using ADB, follow these steps:

  1. Open a command prompt window on your computer and navigate to the directory where the ADB tool is installed.
  2. Connect your Android device to your computer via USB cable.
  3. Enable USB debugging on your Android device by going to Settings > Developer options > USB debugging and turning it on.
  4. In the command prompt window, type the following command: adb push [path of the directory on your computer] [path of the directory on your Android device]
  5. Press Enter to execute the command. This will push the entire directory from your computer to your Android device.

For example, if you want to push a directory named "myfolder" located on your computer's desktop to the root directory of your Android device, the command would look like this:

adb push C:\Users\Username\Desktop\myfolder /sdcard

how to push adb whole directory

原文地址: http://www.cveoy.top/t/topic/cFlH 著作权归作者所有。请勿转载和采集!

免费AI点我,无需注册和登录