adb command 20150427

目前(20150427)常用 adb command

 

command add   
adb shell
cd data
ls –l ov-debug1.txt
review ov-debug file  
adb shell
cd data
rm –f ov-debug1.txt
remove ov-debug file r,  --recursive
remove directories and their contents recursively
-f, --force
ignore nonexistent files, never prompt
所以-r和-f分别表示可递归删除目录和强制删除文件
exit you can back to the first address from data after inputting 'exit'.  
adb pull /data/outdoor_contrast.rar .
Start .
copy file from cell phone.
Go to saved file's address in PC and the window of path of saved file will display.
 
adb push d:\R\****.rar /data/ Put ****.rar into phone's data root.  
adb push d:\R\****.rar /sdcard/dcim/camera/ Put ****.rar into phone's dcim root.  
adb pull /sdcard/dcim/camera/ d:\R Pull files of sdcard/dcim/camera/ to d:\R   
adb shell rm -f/data/shading.zip/* delete shading.zip in data  
posted @ 2015-04-27 15:20  永恒的小贝壳  阅读(167)  评论(0)    收藏  举报