I need to copy jpegs from an Android phone's sdcard to a computer, ideally through command line (/storage/sdcard1/*.jpg to a remote location)

I've tried Izzy's solution from this post like so:

scp -p -P 2222 [email protected]:/storage/sdcard1/*.jpg ~/Desktop/pull/

but got this error:

sh: scp: not found

The scp and ftp commands are missing on the device, so is there a way to get this working ?

I've also looked at busybox and had some success doing so:

cd /storage/sdcard1 && for jpg in *.jpg; do ftpput -u user -p pass ./Desktop/pull/$jpg $jpg;done

Another thing that worked is this ls solution but for single files and I'm not experienced enough with bash scripting for this to work on multiple files.

I'm looking for the simplest solution (with fewest install/setup steps). What is the easiest way to do this ?

  • 1
    You might want to check Terminal IDE. It's a "little monster", providing a bunch of things you might not need, but amongst others, AFAIR, there was also scp included.
    – Izzy
    Jul 3, 2013 at 15:11
  • I've installed TerminalIDE and I get scp with that one too, unless I'm doing it wrong. However I've managed to create links to scp using this article Jul 3, 2013 at 17:12
  • I didn't try that part yet. As you've found a solution: Would you mind answering the question yourself, including at least an excerpt of the linked article / steps you've performed? Would be great!
    – Izzy
    Jul 3, 2013 at 18:55
  • If rooted, install adb wireless on the phone and then use adb commands to copy the files via push/pull
    – Bryan Denny
    Jul 4, 2013 at 14:30
  • @BryanDenny sounds good. I see many ADB wireless apps on the play store. Which one did you have in mind ?Also, adb seems to only work with one device at a time. I will need to control many. Jul 4, 2013 at 17:41


You must log in to answer this question.