This command adb pull
to copy files from your phone to my computer. How can I use it to copy all files in the android device into a folder on my computer?
Asked
Active
Viewed 2.7k times
7

Suncatcher
- 10,355
- 10
- 52
- 90

Adham
- 63,550
- 98
- 229
- 344
-
What do you mean of all files? – Pankaj Kumar Aug 25 '14 at 05:55
-
So the device is rooted? – greenapps Aug 25 '14 at 06:24
-
1A bit related: http://stackoverflow.com/questions/11074671/adb-pull-multiple-files – Andrew T. Aug 25 '14 at 06:43
-
1Exact match : http://stackoverflow.com/questions/10050925/how-do-i-adb-pull-all-files-of-a-folder-present-in-sd-card – Azmat Karim Khan Aug 02 '16 at 21:26
1 Answers
8
give only the directory name it will copy the whole file. The dot at the end is the destination directory of my host pc (. means present working directory)
adb pull "/data/data/com.pkg.test/files/" .
output
/data/data/com.pkg.test/files/: 20 files pulled. 0 files skipped. 4.9 MB/s (31176666 bytes in 6.062s)

Pranoy Sarkar
- 1,965
- 14
- 31