Send pics to Rasp¶
So I wanted to send the pictures I take from my cell phone to my raspberry using SCP protocol. This to avoid sending numerous emails and .... because I find it kind of cool to do so. If you are interested you can follow those steps :
- Download the TERMUX app
-
Run the following commands
-
$ pkg install openssh
-
$ termux-setup-storage
Final command
scp -r /sdcard/3234-6530/dcim/camera/Dateoftheday_. pi@xxx.xx.xx.xxx:/home/pi/”where i want”
If you like it you can even create a bash script on your phone that runs
the convert
function of imagemagick to resize the image before sending them.
You can install imagemagick on your phone with :
pkg install imagemagick
Last update: April 27, 2021