log提取
#!/bin/bash
#adb connect 192.168.31.233
#adb connect 192.168.43.1 \
adb disconnect
adb pull /userdata/bigdata $1 #ai_log
adb pull /data/tombstone $1 #死机
adb pull /userdata/system/record $1 #嵌入式log
adb pull /userdata/system/log $1 #嵌入式log
adb pull /userdata/ai_map $1
adb pull /tmp/ai_map $1
adb pull /userdata/bigdata/akosbag $1 #3d tof/重定位数据
adb shell 'rm -rf /userdata/bigdata/akosbag/*.gz | rm -rf /userdata/bigdata/coredump/*.gz | rm -rf /userdata/bigdata/log/*.gz' #清空上次
#adb pull /mnt/UDISK/cartographer $1
log上传
#!/bin/bash
git add . && sleep 0.5s
git commit -m "$1"
git push