Android, copy file from device to the local disk

Hello Everybody,

Just a simple terminal command to copy file FROM device to the local disk:

~/adb pull /sdcard/your_file.ext /home/your_folder/ your_file.ext

Very simple and useful to know 🙂 Also, you are able to rename file: your_file.ext to 1.ext for instance 🙂
Other cool commands for adb you can find on android wiki page:

How to use android debug bridge

Before I forget, to copy file back to device, just use:

~/adb push your_file.ext /sdcard/

So, push – copy file to the device, pull – copy file from device.

Happy pushing and pulling (:

Best regards,
Yahor