Code: Select all
scp "$1" pi@192.168.1.108:.octoprint/uploads/
Code: Select all
./putpi.sh base.gcode
I didn't know it was possible to use the .octoprint/uploads/ folder to drop the files.dsegel wrote:I run S3D on my MacBook and after saving the gcode file I just go to a terminal window and run a script that does:
I have ssh keys set up so there's no password to enter. I just run a command likeCode: Select all
scp "$1" pi@192.168.1.108:.octoprint/uploads/
and it's done. Another advantage is that it's tons faster than the web interface, which seems to take forever with large gcode files.Code: Select all
./putpi.sh base.gcode