[ADB command] adb push command summary

1. Introduction

This article mainly introduces the summary of the use of the adb push command.

Two, adb push command function description

adb push <file name 1> <file name 2>:
Function: name file 1 and push to the mobile phone as file 2.
Remarks:
If the file names are the same, they will be overwritten directly.
If the file names are different, rename the file to be pushed.

adb push <file name> <folder>:
Function: push the file to the folder directory.

adb push <folder> <filename>
adb push <folder> <folder>

2.1 Push the computer test folder to the phone vendor/test_cmd directory

adb push /test    /vendor/test_cmd

2.2 Push the files in the test_adb folder of the computer to the vendor/test_cmd directory of the mobile phone

adb push D:\test_adb\.    /vendor/test_cmd

Note: If the file names are the same, the files with the same name in the phone will be overwritten.

Three, summary

This article mainly introduces the related operations of the adb push command for reference.

Guess you like

Origin blog.csdn.net/xuxu_123_/article/details/130132389