shell脚本中的蓝牙文件传输

我想使用bash脚本或类似的东西通过蓝牙将文件发送到我的手机。 ussp-push实用程序可以工作,但我发现它比gnome中的“Send To”选项要慢得多。 有没有办法从shell scirpt使用gnome的蓝牙function?

bluetooth-sendto --device=12:34:56:78:9A:BC filename对我有用。 “12:34:56:78:9A:BC”是设备的蓝牙设备地址(bdaddr)。 您可以使用hcitool scan获取bdaddr。