Ask Ubuntu is a question and answer site for Ubuntu users and developers. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I'd like to send files to my phone via bluetooth using a bash script or something similar. The ussp-push utility works, but I find it is much slower than the "Send To" option in gnome. Is there a way to use gnome's bluetooth functionality from a shell scirpt?

share|improve this question
up vote 8 down vote accepted

bluetooth-sendto --device=12:34:56:78:9A:BC filename works for me. "12:34:56:78:9A:BC" is the Bluetooth device address (bdaddr) of the device. You can get the bdaddr with hcitool scan.

share|improve this answer
Thanks, this is exactly what I was looking for. – Ralf May 8 '11 at 9:08
Note that the bluetooth-sendto command opens a dialog which shows the progress of the file transfer, so it cannot be used from a headless display. However, it is perfect for my use case. – Ralf May 9 '11 at 14:05

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.