Redirect [ADB.exe] Output to a File
Posted on 2014-10-14
Does anyone know how to redirect the output of the Android ADB.exe command to a file?
The following command runs successfully, but the results are NOT outputted to the file as expected.
this successfully copies the backups folder from my Android device to the Joe folder on my computer...
adb pull /sdcard/backups Joe > results.txt
...but when I examine the "result.txt" file after the command had run, it's empty!
I even tried to redirect to the Clipboard: adb pull /sdcard/backups Joe | clip to no avail. The ADB command runs successfully, it creates the Joe folder and copies data to it, but Clipboard is empty.
All the "redirection operators" (>, >>, |) don't seem to work with the ADB command. Any ideas?