Android - How to copy a folder from a file system to an SD card using DDMS?

I have a folder in the file system.
The folder contains about 200 files .
I want to copy it to a specific folder on the SD card.

The problem is

DDMS only gives the option of pushing a file onto device? Do we have any option of Pushing the complete folder onto device? 

I know that there are ways to copy this folder programmatically by holding them in assets or Pin a folder and copy it, but my question is specifically for Android DDMS .

Any help would be greatly appreciated.

+4
source share
1 answer

Just click it :-)

For example, you have a folder /data/tmp , and you want to click it on /mnt/sdcard :

 adb push /data/tmp /mnt/sdcard 

Sorry, I forgot that you are working with DDMS. But I just know how to do this with adb . The adb file can be found in the [android-sdk]/platform-tools/ folder. If you are using Windows, it could be adb.bat or adb.exe .

+5
source

All Articles