mybin

my ~/bin
git clone https://a3nm.net/git/mybin/
Log | Files | Refs | README

commit 96b5a28d7df09c1b9164a8a30a296473cd09d8f7
parent d43d2f56c112bdfaba4e30bcbbbae9874718afdd
Author: Antoine Amarilli <a3nm@a3nm.net>
Date:   Tue,  3 Jan 2017 15:29:39 +0100

actually, obexfs has laughable performance

Diffstat:
bluetooth_fuse | 19-------------------
1 file changed, 0 insertions(+), 19 deletions(-)

diff --git a/bluetooth_fuse b/bluetooth_fuse @@ -1,19 +0,0 @@ -#!/bin/bash - -set -e -set -x -FILE="$HOME/config/private/bluetooth" -DEVICE="$1" -MNT="$HOME/mnt/$DEVICE" -HW=$(grep "^$DEVICE\s" "$FILE" | cut -d' ' -f2) -if [[ -z "$HW" ]] -then - >&2 echo "no registered device $DEVICE in $FILE" - >&2 echo "try adding one from paired devices?" - # echo "paired-devices" | bluetoothctl 2>/dev/null | grep '^Device' - exit 2 -fi - -mkdir -p "$MNT" -obexfs -b "$HW" "$MNT" -