Reputation: 11
I want to use 'abd pull' to transfer some folders from my android phone to my Computer. I've done a lot of research online but there isn't much information about how to properly use this command.
I want to transfer entire folders(with their contents) and not just specific files. is that possible ?
If it is, I am not super familiar with the android data structures. How do I specify the location, more specifically where do I start ? (for example: \system\xx or maybe \storage\xx I really don't know how to format this) I am looking for folders and files in the Internal Storage
Thank you all !
All guides on google or youtube show how to transfer specific files and only do so from sd cards. I want to transfer entire folders from the internal storage
Edit: Thanks for all the comments, I find no definite answer so I gave trial and error a go. adb pull worked fine but an entire new problem came up.
Upvotes: 0
Views: 12570
Reputation: 1
I am working on a GUI to enforce all these commands found here [The most comprehensive list of adb, fastboot, adb shell & monkey commands I have discovered],1 I hope this helps, on this site you will discover how much authority you have over you phone.
Upvotes: -1
Reputation: 1434
I have created this shell script for downloading CAMERA folder from Android device. It also resumes download if by some reason download stops in between.
https://github.com/bkrajendra/android_backup
This script is inspired from various SO posts and some example scripts I found long back online.
Script can be executed on Win/Mac/Linux and needs to have adb cli tools. Use gitbash or MobaXterm on Windows
Usage:
./backup.sh [-r remote_folder] [-l local_folder]
e.g. ./backup.sh sdcard/DCIM/Camera /f/Photo/A52
Hope this will help someone!
Upvotes: 0
Reputation: 21
I believe the location directory that is of interest to you is: /storage/emulated/0/(Folder name you want to copy)/
So if I wanted to copy all my photos over to my PC I would type: adb pull /storage/emulated/0/DCIM/
Hope this helps
Upvotes: 2
Reputation: 1
yes I can answer your first question I want to transfer entire folders(with their contents) and not just specific files. is that possible ? Ans: Make sure to open CMD where you have downloaded your Android Platform Tools. go to your android device and make sure you enable developer options and enable debugging mode and required settings to wirelessly transfer data through adb.
if you need help refer this article https://www.thecustomdroid.com/adb-push-pull-commands/
After you have successfully connected to your port. You can use the below command
Adb pull /storage/ (to your designated folder on your PC) -- follow this if you want to pull data from internal storage. Adb pull /sdcard/ (to your designated folder on your PC) -- follow this if you want to pull data from SD-card.
Example- C:\Users\Downloads\platform-tools_r34.0.1-windows\platform-tools>adb pull /storage/ C:\User\Downloads\recovery
Let me know if this helped.
Upvotes: 0