John Dallman
2018-10-03 14:40:13 UTC
I'm making quite a lot of use of "adb push" to move test data on to
devices. This is done by shell scripts running on my Linux development
host, whose output is redirected to plain-text log files. And those get
quite a bit of output, thus:
[ 2%]
/data/local/tmp/local_parasolid/lx86/lx86/v310_anda_test/system/release/kid.out:
0%
[ 3%]
/data/local/tmp/local_parasolid/lx86/lx86/v310_anda_test/system/release/kid.out:
0%
[ 3%]
/data/local/tmp/local_parasolid/lx86/lx86/v310_anda_test/system/release/kid.out:
0%
[ 3%]
/data/local/tmp/local_parasolid/lx86/lx86/v310_anda_test/system/release/kid.out:
0%
[ 3%]
/data/local/tmp/local_parasolid/lx86/lx86/v310_anda_test/system/release/kid.out:
0%
[ 3%]
/data/local/tmp/local_parasolid/lx86/lx86/v310_anda_test/system/release/kid.out:
0%
[ 3%]
/data/local/tmp/local_parasolid/lx86/lx86/v310_anda_test/system/release/kid.out:
0%
[ 3%]
/data/local/tmp/local_parasolid/lx86/lx86/v310_anda_test/system/release/kid.out:
0%
[ 3%]
/data/local/tmp/local_parasolid/lx86/lx86/v310_anda_test/system/release/kid.out:
1%
[ 3%]
/data/local/tmp/local_parasolid/lx86/lx86/v310_anda_test/system/release/kid.out:
1%
[ 3%]
/data/local/tmp/local_parasolid/lx86/lx86/v310_anda_test/system/release/kid.out:
1%
[ 3%]
/data/local/tmp/local_parasolid/lx86/lx86/v310_anda_test/system/release/kid.out:
1%
[ 3%]
/data/local/tmp/local_parasolid/lx86/lx86/v310_anda_test/system/release/kid.out:
1%
[ 3%]
/data/local/tmp/local_parasolid/lx86/lx86/v310_anda_test/system/release/kid.out:
1%
[ 3%]
/data/local/tmp/local_parasolid/lx86/lx86/v310_anda_test/system/release/kid.out:
1%
[ 3%]
/data/local/tmp/local_parasolid/lx86/lx86/v310_anda_test/system/release/kid.out:
1%
[ 3%]
/data/local/tmp/local_parasolid/lx86/lx86/v310_anda_test/system/release/kid.out:
2%
[ 3%]
/data/local/tmp/local_parasolid/lx86/lx86/v310_anda_test/system/release/kid.out:
2%
[ 4%]
/data/local/tmp/local_parasolid/lx86/lx86/v310_anda_test/system/release/kid.out:
2%
[ 4%]
/data/local/tmp/local_parasolid/lx86/lx86/v310_anda_test/system/release/kid.out:
2%
[ 4%]
/data/local/tmp/local_parasolid/lx86/lx86/v310_anda_test/system/release/kid.out:
2%
[ 4%]
/data/local/tmp/local_parasolid/lx86/lx86/v310_anda_test/system/release/kid.out:
2%
kid.out is about 54MB, and thus takes several seconds to push. Is there a
way to just get one line per file pushed, or something like that?
I can't find anything in the adb built-in help, or the web page about it at
https://developer.android.com/studio/command-line/adb#issuingcommands. I
took a look at the source on github, but C++ is about my fifth language,
and it will take me quite some time to figure out where the calls to
LinePrinter are coming from. So I'm checking if there's a commonplace
answer to this.
Thanks,
John
devices. This is done by shell scripts running on my Linux development
host, whose output is redirected to plain-text log files. And those get
quite a bit of output, thus:
[ 2%]
/data/local/tmp/local_parasolid/lx86/lx86/v310_anda_test/system/release/kid.out:
0%
[ 3%]
/data/local/tmp/local_parasolid/lx86/lx86/v310_anda_test/system/release/kid.out:
0%
[ 3%]
/data/local/tmp/local_parasolid/lx86/lx86/v310_anda_test/system/release/kid.out:
0%
[ 3%]
/data/local/tmp/local_parasolid/lx86/lx86/v310_anda_test/system/release/kid.out:
0%
[ 3%]
/data/local/tmp/local_parasolid/lx86/lx86/v310_anda_test/system/release/kid.out:
0%
[ 3%]
/data/local/tmp/local_parasolid/lx86/lx86/v310_anda_test/system/release/kid.out:
0%
[ 3%]
/data/local/tmp/local_parasolid/lx86/lx86/v310_anda_test/system/release/kid.out:
0%
[ 3%]
/data/local/tmp/local_parasolid/lx86/lx86/v310_anda_test/system/release/kid.out:
0%
[ 3%]
/data/local/tmp/local_parasolid/lx86/lx86/v310_anda_test/system/release/kid.out:
1%
[ 3%]
/data/local/tmp/local_parasolid/lx86/lx86/v310_anda_test/system/release/kid.out:
1%
[ 3%]
/data/local/tmp/local_parasolid/lx86/lx86/v310_anda_test/system/release/kid.out:
1%
[ 3%]
/data/local/tmp/local_parasolid/lx86/lx86/v310_anda_test/system/release/kid.out:
1%
[ 3%]
/data/local/tmp/local_parasolid/lx86/lx86/v310_anda_test/system/release/kid.out:
1%
[ 3%]
/data/local/tmp/local_parasolid/lx86/lx86/v310_anda_test/system/release/kid.out:
1%
[ 3%]
/data/local/tmp/local_parasolid/lx86/lx86/v310_anda_test/system/release/kid.out:
1%
[ 3%]
/data/local/tmp/local_parasolid/lx86/lx86/v310_anda_test/system/release/kid.out:
1%
[ 3%]
/data/local/tmp/local_parasolid/lx86/lx86/v310_anda_test/system/release/kid.out:
2%
[ 3%]
/data/local/tmp/local_parasolid/lx86/lx86/v310_anda_test/system/release/kid.out:
2%
[ 4%]
/data/local/tmp/local_parasolid/lx86/lx86/v310_anda_test/system/release/kid.out:
2%
[ 4%]
/data/local/tmp/local_parasolid/lx86/lx86/v310_anda_test/system/release/kid.out:
2%
[ 4%]
/data/local/tmp/local_parasolid/lx86/lx86/v310_anda_test/system/release/kid.out:
2%
[ 4%]
/data/local/tmp/local_parasolid/lx86/lx86/v310_anda_test/system/release/kid.out:
2%
kid.out is about 54MB, and thus takes several seconds to push. Is there a
way to just get one line per file pushed, or something like that?
I can't find anything in the adb built-in help, or the web page about it at
https://developer.android.com/studio/command-line/adb#issuingcommands. I
took a look at the source on github, but C++ is about my fifth language,
and it will take me quite some time to figure out where the calls to
LinePrinter are coming from. So I'm checking if there's a commonplace
answer to this.
Thanks,
John
--
You received this message because you are subscribed to the Google Groups "android-ndk" group.
To unsubscribe from this group and stop receiving emails from it, send an email to android-ndk+***@googlegroups.com.
To post to this group, send email to android-***@googlegroups.com.
Visit this group at https://groups.google.com/group/android-ndk.
To view this discussion on the web visit https://groups.google.com/d/msgid/android-ndk/CAH1xqg%3DKNMNuGMFT101hMB0ty_G3x0iomp%3DmPAWOidDeLyrzWQ%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.
You received this message because you are subscribed to the Google Groups "android-ndk" group.
To unsubscribe from this group and stop receiving emails from it, send an email to android-ndk+***@googlegroups.com.
To post to this group, send email to android-***@googlegroups.com.
Visit this group at https://groups.google.com/group/android-ndk.
To view this discussion on the web visit https://groups.google.com/d/msgid/android-ndk/CAH1xqg%3DKNMNuGMFT101hMB0ty_G3x0iomp%3DmPAWOidDeLyrzWQ%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.