android_device_samsung_msm8.../rootdir/bin/loggy.sh

7 lines
147 B
Bash
Raw Normal View History

2022-12-01 20:37:31 +01:00
#!/system/bin/sh
# loggy.sh.
_date=`date +%F_%H-%M-%S`
logcat -b all -v time -f /cache/logcat_${_date}.txt &
dmesg -w > /cache/kmsg_${_date}.txt