ADB push Multiple Files/Directory

5,599 views
Skip to first unread message

xingchao wang

unread,
Jun 10, 2010, 11:48:36 PM6/10/10
to android-porting
Hi all,

Is there any patch to suuport adb to push multile files/dirs to phone?
ex:
adb push a b c d
note: push file a, b, c to dir d.

Just like Linux Shell.

--wang xingchao

--
A Linux Kernel Android Developer

xingchao wang

unread,
Jun 11, 2010, 12:16:17 AM6/11/10
to android-porting
Hi,

i wrote this patch to make adb enable this function.

You can compile it and replace the host adb tool.
usage:
adb push a b c d
Note: adb will push a b c to directory d,a, b,c can be file or directory.

--wangxingchao

2010/6/11 xingchao wang <ker...@gmail.com>
adb-multi-files-dirs-support.txt

fastludeh22

unread,
Jun 11, 2010, 12:10:50 PM6/11/10
to android-porting


On Jun 11, 12:16 am, xingchao wang <kero...@gmail.com> wrote:
> Hi,
>
> i wrote this patch to make adb enable this function.
>
> You can compile it and replace the host adb tool.
> usage:
> adb push a b c d
> Note: adb will push a b c to directory d,a, b,c can be file or directory.
>
> --wangxingchao
>
> 2010/6/11 xingchao wang <kero...@gmail.com>

Just to note if you abd push or pull a directory it will push/pull all
the files in that directory. But you patch can push/pull multi
directories? Ill have to give that a shot.

Ps, I see your sig says your a kernel developer, would love it if you
could give me a hand with my issue I posted a few days ago.

Thanks
>
> > Hi all,
>
> > Is there any patch to suuport adb to push multile files/dirs to phone?
> > ex:
> > adb push a b c d
> > note: push file a, b, c to dir d.
>
> > Just like Linux Shell.
>
> > --wang xingchao
>
> > --
> > A Linux Kernel Android Developer
>
> --
> A Linux Kernel Android Developer
>
>  adb-multi-files-dirs-support.txt
> < 1KViewDownload

xingchao wang

unread,
Jun 13, 2010, 2:30:27 AM6/13/10
to highb...@gmail.com, android-porting


2010/6/12 fastludeh22 <highb...@gmail.com>



On Jun 11, 12:16 am, xingchao wang <kero...@gmail.com> wrote:
> Hi,
>
> i wrote this patch to make adb enable this function.
>
> You can compile it and replace the host adb tool.
> usage:
> adb push a b c d
> Note: adb will push a b c to directory d,a, b,c can be file or directory.
>
> --wangxingchao
>
> 2010/6/11 xingchao wang <kero...@gmail.com>

Just to note if you abd push or pull a directory it will push/pull all
the files in that directory. But you patch can push/pull multi
directories? Ill have to give that a shot.

hi ,
yes, it can push multi-files/dirs.
 
Ps, I see your sig says your a kernel developer, would love it if you
could give me a hand with my issue I posted a few days ago.

Which one?
 
Thanks
>
> > Hi all,
>
> > Is there any patch to suuport adb to push multile files/dirs to phone?
> > ex:
> > adb push a b c d
> > note: push file a, b, c to dir d.
>
> > Just like Linux Shell.
>
> > --wang xingchao
>
> > --
> > A Linux Kernel Android Developer
>
> --
> A Linux Kernel Android Developer
>
>  adb-multi-files-dirs-support.txt
> < 1KViewDownload

fastludeh22

unread,
Jun 17, 2010, 4:09:38 PM6/17/10
to android-porting



> > Which one?
> > Thanks

> A Linux Kernel Android Developer

http://groups.google.com/group/android-porting/browse_thread/thread/192505187d7d9f6b#

any help would be great. thanks

Martín Cigorraga

unread,
Aug 22, 2013, 5:32:57 PM8/22/13
to android...@googlegroups.com
Dear Wang Xing Chao,
AWESOME!
I wonder why as today, 22th August 2013 this gem isn't yet added to adb!
[rant]Maybe because Android feels and behaves like a cocktail of Linux with a Java/Dalvik bloat over it shaken and served warm with a Windows' flavour?[/rant]
I'm gonna try this patch this evening, I hope it still works in newer adb.
Cheers.
Reply all
Reply to author
Forward
0 new messages