Home » Tips » ADB » How to Download Files to the Computer with ADB Pull
download files folders with adb pull

How to Download Files to the Computer with ADB Pull

There are multiple ways to copy files to and from your Android smartphone or tablet. Most will simply use the standardized USB MTP Transfer Mode but you may not have that option available to you. So, let me show you how to use the unique ADB Pull command to transfer files and folders to your personal computer.

I know as soon as I say the word ADB or Fastboot that many people simply tune out. There are usually alternative ways of doing things so you can avoid using command-line tools but it’s not difficult to learn. Last year I did a tutorial showing how to copy a file from your PC to an Android device using the ADB Push command.

It’s becoming increasingly popular among the Android community as of late so I wanted to do one on ADB Pull.

There might not be as much of a demand to learn how to download files from a smartphone or tablet to the PC using the command-line. As mentioned, most will just use the MTP Mode and navigate through the directories on a Windows, Linux, or macOS PC. It’s certainly much easier than using ADB (for most people).

Dozens of premium Android apps go on sale every single day. Check out the latest over at PlayStoreSales.com.

But that isn’t always available to us. So let’s dig into this ADB Pull command now.

Before you can complete the tutorial below, you first need to install and enable a few things ahead of time.

 - You need ADB & Fastboot tools installed on your PC. I recommend Minimal ADB & Fastboot, but you could just use Android's SDK Platform Tools which are provided by Google.
 - Next, you will need to enable Android's Developer Mode on your smartphone.
 - Then, you'll want to go ahead and enable USB Debugging Mode on the device as well.
 - Don't forget to make sure your PC can detect the smartphone using the ADB devices command.

Time needed: 5 minutes.

How to Copy Files or Folders to the PC with ADB Pull

  1. Connect your smartphone or tablet to the PC with a USB cable

  2. Open a Command Prompt, Windows PowerShell, or Terminal

    Open it from the folder you want to download your files into.

  3. Type in the following command. . .

  4. adb pull <remote_file_location>

    An example of this would be adb pull sdcard/Download/Magisk.apk.

  5. . . .and press Enter on the keyboard

  6. Then just wait for the files/folders to be downloaded


I just gave the skeleton example of how the ADB Pull command works in the step by step tutorial above. It’s best to just show the basic part of the command so you’ll understand what the parts are actually doing. Remember, downloading a specific file from Android to the PC using ADB requires knowing that exact filename.

Granted, you can use wildcards like *.jpg to grab every file with the JPG file extension but I would argue there is a better way.

Using ADB Pull to Download Entire Folders to the PC

To do this, we actually need to adjust the ADB Pull command that’s used above. We need to wrap that directory structure in quotation marks in order to grab an entire directory using ADB. So it’s not the biggest tweak, but something you should know about if you’re tinkering with ADB commands.

adb pull "sdcard/DCIM/Screenshots"

Remember, we still need to have that sdcard folder at the start since that is how Android has your internal storage partitioned. The listed command above will download the contents of the Screenshots folder from our Android smartphone or tablet and copy them directly onto your computer.

The download location of these files on the PC will be where you have launched said command prompt, PowerShell, or Terminal from. For example, running the cmd command on Windows will launch the Command Prompt from the logged-in user’s folder. This means anything downloaded using ADB Pull in this way will go into C:\Users\[Your_User].

While some OEMs use a different structure, here are some examples of default folder locations. . .

  • sdcard/Alarms
  • sdcard/Android
  • sdcard/DCIM
  • sdcard/Download
  • sdcard/Movies
  • sdcard/Music
  • sdcard/Notifications
  • sdcard/Pictures
  • sdcard/Podcasts
  • sdcard/Ringtones
adb pull to backup internal storage

Backup the Entire Internal Storage with ADB Pull

I would advise that you use specific files or folders when you’re using the ADB Pull command. However, I should note that we can actually back up the entire contents of your smartphone or tablet’s internal storage. We can do it by using the exact same command that we learned here today.

This time, though, we are just going to grab the contents of the “sdcard” folder.

adb pull "sdcard"

We’re able to do this by using the ADB Pull command listed above. I would like to give a bit of a warning here. Your computer will need to generate a list of files and folders that will be copied when you execute the command above. That means it can take minutes to hours before it even begins copying the first file.

It will eventually complete the task and start transferring the files but it can take some time before that begins.

If this was helpful, please consider supporting the website in any number of ways.

Donations help a lot, but simply sharing & liking things that have helped or are of interest to you (on places like Reddit, Facebook, YouTube) while following & subscribing to Android Explained accounts on sites like Facebook, YouTube can help too.

If you run into any issues with this guide though, please leave a comment to let me know. This will enable me to keep all Android tutorials as up to date as possible.

Leave a Comment

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.

Scroll to Top