码迷,mamicode.com
首页 > 移动开发 > 详细

How to copy selected files from Android with adb pull

时间:2016-05-02 00:28:33      阅读:198      评论:0      收藏:0      [点我收藏+]

标签:

参考:http://stackoverflow.com/questions/8650407/how-to-copy-selected-files-from-android-with-adb-pull

"adb pull sdcard/mydir/*.jpg" it apparently doesn‘t interpret wildcards
You can move your files to other folder and then pull whole folder.

adb shell mkdir /sdcard/tmp
adb shell mv /sdcard/mydir/*.jpg /sdcard/tmp # move your jpegs to temporary dir
adb pull /sdcard/tmp/ # pull this directory (be sure to put ‘/‘ in the end)
adb shell mv /sdcard/tmp/* /sdcard/mydir/ # move them back
adb shell rmdir /sdcard/tmp # remove temporary directory

How to copy selected files from Android with adb pull

标签:

原文地址:http://www.cnblogs.com/qike/p/5451498.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!