adb pull

As we have seen in our last post, you can use “adb push” to copy files from your desktop to Android device, now in this post we will show the commands necessary to do opposite of that i.e copy files from Android device to your desktop.

adb pull is mostly required when you take some logs, save some data to files from your applications and then need to copy those files to desktop for further analysis.

$ adb pull /sdcard/your_file_name DESKTOP_PATH

For example, if you want to copy file to your current working directory “pwd” then you can use below command with just “dot”

$ adb pull /sdcard/your_file_name .

OR

$ adb pull /sdcard/your_file_name $PWD
Webjets.io - How to Upload Files fr... x
Webjets.io - How to Upload Files from your Computer

1 thought on “adb pull”

Leave a Comment

Sign up to our newsletter!

ADB Commands Android Android Applications Android Build system Application Libraries Application Stack / User Interface Bash / Shell Scripts Bluetooth driver Cloud Technologies Commands and Packages Compilation Content Management System Core Kernel C Programs Development, Debugging and Performance Tools Development and Build Development Environment Setup Django & REST Api Errors & Failures Git Hardware Platforms HTML JAVA Programs Linux, OS Concepts and Networking Linux Device Drivers Linux Host, Ubuntu, SysAdmin Linux Kernel Linux Networking Middleware Libraries, HAL Multimedia NDK / Middleware / HAL Operating System Concepts PHP Programming Languages Scripting and Automation Search Engine Optimisation ( SEO ) Social Media Source Code Management ( SCM ) System Administration, Security Testing and Debugging Uncategorized Web Design and Development Website Hosting Wordpress Yocto Embedded Linux