loggy.sh android code example
Example: loggy.sh android
#!/system/bin/sh
# loggy.sh.
#_date=`date +%F_%H-%M-%S`
logcat -b all -f /cache/logcat_${_date}.txt &
dmesg -w > /cache/kmsg_${_date}.txt &
#!/system/bin/sh
# loggy.sh.
#_date=`date +%F_%H-%M-%S`
logcat -b all -f /cache/logcat_${_date}.txt &
dmesg -w > /cache/kmsg_${_date}.txt &