转自https://superuser.com/questions/604055/using-rz-and-sz-under-linux-shell

zsend

#!/bin/sh

DEV=/dev/ttyS0

stty -F $DEV 115200
sz $1 > $DEV < $DEV

zrecv

#!/bin/sh

DEV=/dev/ttyS0

stty -F $DEV 115200
rz > $DEV < $DEV

PC1: sudo zsend filename

PC2: sudo zrecv

相关文章:

  • 2022-12-23
  • 2021-09-05
  • 2021-11-29
  • 2021-11-20
  • 2021-05-01
  • 2021-05-20
  • 2021-08-20
  • 2021-08-10
猜你喜欢
  • 2021-07-07
  • 2022-12-23
  • 2021-04-27
  • 2022-12-23
  • 2021-08-27
  • 2022-12-23
  • 2022-12-23
相关资源
相似解决方案