Hmmm, I just got to thinking that on a Mac you can set Folder Actions. An the action code be to scp the file to the OctoPrint server. That way you just save the gcode to that folder on your Mac and it automagically goes to the server.
I'll work on it .... Anyone interested