windows批处理 -》 linux平台

清华大佬耗费三个月吐血整理的几百G的资源,免费分享!....>>>

echo off
SET devID=***********
SET mutID=DUT4

@ECHO ON
md c:\"%mutID%_%devID%_pull_LS"

echo pull crashsms
adb -s %devID% pull /data/crashsms c:\%mutID%_%devID%_pull_LS\crashsms
echo pull tombstone
adb -s %devID% pull /data/tombstones c:\%mutID%_%devID%_pull_LS\tombstone
echo pull dropbox
adb -s %devID% pull /data/system/dropbox c:\%mutID%_%devID%_pull_LS\dropbox
echo pull CrashLog
adb -s %devID% pull /sdcard/CrashLog c:\%mutID%_%devID%_pull_LS\CrashLog
echo pull anr
adb -s %devID% pull /data/anr/ c:\%mutID%_%devID%_pull_LS\anr
echo pull CrashDump
adb -s %devID% pull /sdcard/CrashDump c:\%mutID%_%devID%_pull_LS\CrashDump
echo pull RCAlog
adb -s %devID% pull /sdcard/ramdump c:\%mutID%_%devID%_pull_LS\ramdump
echo pull ramdump
adb -s %devID% pull /data/mlog/ c:\%mutID%_%devID%_pull_LS\mlog
echo pull ramdump
adb -s %devID% pull /data/rcalog c:\%mutID%_%devID%_pull_LS\RCAlog
echo pull logaAlong log
adb -s %devID% pull /sdcard/logalong c:\%mutID%_%devID%_pull_LS\logalong
echo pull hprof
adb -s %devID% pull /data/misc/ c:\%mutID%_%devID%_pull_LS\hprof 
adb -s %devID% pull /sdcard/*.hprof c:\%mutID%_%devID%_pull_LS\hprof 
echo all log transfer completed!

pause