#!/bin/dash
# James 2015
# $1-bt address

[ $1 ] || { echo "Usage: ${0##*/} bt-address" && exit; }
mntpoint=/mnt/bt_$(echo $1 | sed 's|:|_|g')
mkdir -p $mntpoint
fusermount -u $mntpoint
obexfs -b "$1" $mntpoint
rox $mntpoint
Xdialog --infobox "\
Don't forget to umount it before disconnecting your phone.

You can do that by going to the /mnt folder (one level higher than
the just opened), find the bt-XX-XX-XX folder with a green dot on it,
right-click on it and then choose unmount.

Or from terminal you can type: fusermount -u $mntpoint
" 0 0 10000
