adb Transferring files using push and pull

Help us to keep this website almost Ad Free! It takes only 10 seconds of your time:
> Step 1: Go view our video on YouTube: EF Core Bulk Insert
> Step 2: And Like the video. BONUS: You can also share it!

Syntax

  • adb push [-p] LOCAL REMOTE
  • adb pull [-a] [-p] REMOTE [LOCAL]

Parameters

ParametersDetails
LOCALA file or directory that is located on the user's computer
REMOTEA file or directory that is located on the user's Android device
-aAlso copy the file the remote file's timestamp and file mode data
-pDisplay transfer progress while the file or directory is copying

Remarks

If LOCAL is omitted in the adb pull command, the filename from REMOTE is used

LOCAL can be a relative path or an absolute path, but REMOTE must be an absolute path



Got any adb Question?