Push and Pull files

There are several ways to transfer a file to a smartphone or from a smartphone, you can use cables or you can do that wirelessly. However, there is another way that is very effective and is still used by hardcore Android users. This method involves the pushing and pulling files using ADB commands, the reason people actually prefer this is that it gives a user full control over the files. This method uses command line interface to do all the heavy work but don’t get confused just yet, the interface might look scary but you just need to enter few commands that can be learned in a matter of minutes.

If you are willing to learn how you can push and pull files using ADB commands, simply check out the tutorial below.

Prerequisites

  • Download USB drivers for your respective OEM.
  • Download and install ADB > Download.
  • Enable USB debugging by going into Settings > About Phone > Tapping build number 8 times > Settings > Developer options.

Pull Files on Android Using ADB Commands

  1. Connect your device to the PC using a USB cable.
  2. Open the ADB folder and right click on an empty space while holding the shift key and select Open command window here.
  3. Let’s suppose you’re pulling a screenshot you saved, type the following command.

    adb pull /sdcard/pictures/screenshots/<complete name of the screenshot including the format>

  4. The screenshot will be saved in the ADB folder in just a matter of seconds.

Push Files on Android Using ADB Commands

  1. Repeat the first and the second step.
  2. Now let’s push the same file back to the phone and into the screenshot folder by entering the following command

    adb push /sdcard/pictures/screenshots/<complete name of the screenshot including the format>

That is it, with few simple steps, you have finally learned how to easily push and pull files using ADB commands.

LEAVE A REPLY

Please enter your comment!
Please enter your name here

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