Bluetooth file transfer from a command line

The best way to transfer a file via Bluetooth is to perform a GUI trick with a known command bluetooth-sendto:

xvfb-run --auto-servernum bluetooth-sendto --device=XX:XX:XX:XX:XX:XX /path/to/file

Device address XX:XX:XX:XX:XX:XX mayb be obtained by a command:

bt-device -l

While doing the latter operation your bluetooth device should operate in a discovery mode.


Posted

in

by

Tags:

Comments

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.