kesto.de Cheatsheets

sz

Send a file via serial port using YMODEM protocol

Configure the correct line settings using stty and then call sz:

stty -F /dev/ttyUSB0 speed 115200
sz --ymodem example.zip > /dev/ttyUSB0 < /dev/ttyUSB0