Code: Select all
scp "$1" [email protected]:.octoprint/uploads/Code: Select all
./putpi.sh base.gcodeI 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" [email protected]:.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