How to transfer files using ADB push and pull commands – Guide

With ADB, you can easily copy files from your PC to your Android device. This can be useful if you want to transfer files that are important to you, or if you want to work on projects on your Android device without having to worry about losing any data.

File transfers using ADB

There are many ways to transfer files between your Android device and a PC, many of which do not require wires. However, when all else fails, or you’ve just made a screen recording and you’re all connected up anyway, ADB file transfer is here for you. ..

To start ADB for Android, type the following command: adb start com.android.server.adb

To connect your Android device to your PC, type adb devices and press enter. As a reminder, we recorded a screen recording last week and stored it on our device in the /sdcard/video.mp4 location. Let’s transfer this file to our computer.

Pull a file from your Android device

To pull a file from your device using the Android SDK:

  1. Open a command prompt or terminal window.
  2. Change to the directory where you installed the Android SDK.
  3. Type “adb pull ”.
  4. Type “adb push ”.
  5. Type “exit” to close the command prompt or terminal window. ..

Windows machines typically display a desktop with icons for all of the open applications. To dump your application windows, right-click on the desktop and select “New Window.” ..

You can choose to omit the local save location, or look like adb pull /sdcard/video.mp4 which will save the file to the same location as your adb.exe.

Uploading a file is now complete. ..

Send a file to your Android device

  1. Get comfortable with pushing.
  2. Pull your knees up to your chest and tuck your chin to your chest.
  3. Push off the ground with your legs, extending them straight out in front of you.
  4. Keep your back straight and arms extended overhead, palms facing forward.
  5. Hold the position for as long as you can, then slowly return to the starting position by lowering your legs and tucking your chin to your chest ..

To save a video file to your device:

  1. Open the adb command line on your computer.
  2. Type “adb push local_file_location /sdcard/” and press Enter.
  3. Type “adb pull /sdcard/local_file_location” and press Enter. ..

Hit enter, and watch your files fly as you start to fill in the information you need.

Final note

This guide will show you how to use ADB push and pull commands to transfer files between Android devices. If you have any questions about this article, feel free to ask us in the comments below. Additionally, please share this guide with your friends if you think they would find it helpful. ..