I have been so annoyed with Bluetooth on Linux. I finally had to write a little nasty script to get all my Pictures from my Sony Ericsson t610 phone using my new bluetooth dongle:
#!/bin/bash
# Get all pictures from a SONY t610 Phone using bluetooth
COMMAND="obexftp -b 00:0A:D9:5A:DA:AC -B 10 -c Pictures"
FILES=`$COMMAND -l -v | grep "<file " | perl -pe "s/.*name=\"(.*)\" size.*/\1/"`
for file in $FILES;
do
$COMMAND -g $file
echo "Got file $file"
done
Man, why does bluetooth support have to suck so bad in the *nix world. Edd Dumbill though has done some great work to get it up to spec, but man, talk about a time sink. Get a bluetooth phone and a bluetooth dongle and make sure to have some time to spare.




0 Responses to “ANNOYED: Get All Pictures from my Phone”