让adb 命令 在xshell带上文件输出 📅 2026/7/24 6:20:17 OUT~/device_diag/out_(datemkdir−p(date %Y%m%d_%H%M%S) mkdir -p (datemkdir−pOUTadb devices -l “KaTeX parse error: Expected EOF, got at position 27: …devices.txt 2̲1 adb shell get…OUT/02_bootreason.txt” 21adb logcat -d -t 300 “$OUT/logcat.txt” 21