Skip to main content

A command line bluetooth file sharing application for Linux.

Project description

PyPI license

bshare

A command line bluetooth file sharing application for Linux.

Installation

  • Linux packages required:

    Install as:

    $ sudo apt-get install bluetooth libbluetooth-dev bluez-tools
  • To install bshare, simply,

    $ pip install bshare

Usage

  • Help command:

    $ bshare -h
    
    usage: bshare.py [-h] [-a address] [-s address] [-d] [-l]
    
    A simple bluetooth file sharer!
    
    optional arguments:
      -h, --help            show this help message and exit
      -a address, --addr address
                            Connect to bluetooth device with specified Bluetooth
                            address.
      -s address, --set address
                            Set default Bluetooth address.
      -d, --default         Shows the default bluetooth address.
      -l, --list            Shows all the added bluetooth devices identified by your
                            device.
  • To list all the added buetooth devices:

    $ bshare -l
    
    Added devices:
    Windows Phone (9C:6C:15:01:EA:41)
    Videocon V1550 (00:67:1B:BA:7F:B2)
  • To share files with a device by specifying its bluetooth address:

    $ bshare -a F4:F5:24:B2:D9:7D
  • To set a bluetooth address as default (for quick sharing):

    $ bshare -s F4:F5:24:B2:D9:7D
    
    Default bluetooth address was changed to F4:F5:24:B2:D9:7D

    Now, to share files with device having default bluetooth address, simply:

    $ bshare
  • To show default bluetooth address:

    $ bshare -d
    
    Default bluetooth address: F4:F5:24:B2:D9:7D

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

bshare-1.0.0.tar.gz (11.7 kB view hashes)

Uploaded Source

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page