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
adb push file.txt /sdcard/
adb pull /sdcard/file.txt
| Parameters | Details |
|---|---|
| LOCAL | A file or directory that is located on the user's computer |
| REMOTE | A file or directory that is located on the user's Android device |
| -a | Also copy the file the remote file's timestamp and file mode data |
| -p | Display transfer progress while the file or directory is copying |