adb pull – Command to copy files from Android device

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 
Follow Lynxbee

Leave a Reply / Ask Question