Android: adb pull file on desktop

2019-01-10 13:39发布

Trying to copy file from device to desktop, here is a command:

adb pull sdcard/log.txt Users/admin/Desktop

But this command creates a folder Users/admin/Desktop inside platform-tools folder where adb is located. How to pull file to my desktop ?

标签: android adb
3条回答
再贱就再见
2楼-- · 2019-01-10 14:24

Judging by the desktop folder location you are using Windows. The command in Windows would be:

adb pull /sdcard/log.txt %USERPROFILE%\Desktop\
查看更多
3楼-- · 2019-01-10 14:34

Use a fully-qualified path to the desktop (e.g., /home/mmurphy/Desktop).

查看更多
狗以群分
4楼-- · 2019-01-10 14:38

do adb pull \sdcard\log.txt C:Users\admin\Desktop

查看更多
登录 后发表回答