Issue
Similarly to how I view file, using adb functionality:
adb shell cat /path/to/file
I would like to clear a file, without having to enter adb shell, like so:
adb shell clear /path/to/file
Second example is a pseudo-code ofc.
Solution
This should clear the file, removing every text in the file:
adb shell "> /path/to/file"
Answered By - Tipz Team
0 comments:
Post a Comment
Note: Only a member of this blog may post a comment.