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 root@192.168.1.19:/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 192.168.1.33 ./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 ?
No comments:
Post a Comment