15 June 2010 20:04 -
Finally some time to finish this blog post. I already wanted to write it in
June. It is about how I integrated voice memos in my GTD workflow.
When I do not have access to pen,
paper or a computer I capture most ideas
and todo items in the voice memo recorder of my nokia 6600i. To make sure these
voice memos are processed I use some scripting on my Linux server at home and a
bluetooth dongle to automatically fetch these memos from my phone to the inbox
folder on my computer.
First I had to allow my Linux server (Debian Sarge) to connect to my Nokia:
- Install the bluez-utils.
- Scan for devices:
jnieuwen@sigrun:~$ hcitool scan
Scanning ...
XX:XX:XX:XX:XX:XX jnieuwen 6600i
- Note the bluetooth address. XX:XX:XX:XX:XX:XX in this case.
- Connect to the device. In my case I first needed to compile the
passkey-agent
cd /usr/share/doc/bluez-utils/examples/
make
./passkey-agent --default "1234"
obexftp -b XX:XX:XX:XX:XX:XX -l
- Type in the passkey on the Nokia (1234). This has to be done only once
fortunately.
Then I daily run to following script from crontab on my linux server.
#! /bin/bash
PATH=/home/jnieuwen/bin:/usr/local/bin:/usr/bin:/bin:/usr/games
export PATH
cd $HOME/inbox || exit 1
DATUM=$(date +"%s")
# TODO Get all the file names
obexftp -b XX:XX:XX:XX:XX:XX -l "Opnamen" | grep "<file name=" | sed -e 's/.*name="//' -e 's/".*//' | while read FILENAME
do
echo ${FILENAME}
obexftp -b XX:XX:XX:XX:XX:XX -g "Opnamen/$FILENAME"
obexftp -b XX:XX:XX:XX:XX:XX -k "Opnamen/$FILENAME"
mv $FILENAME ${FILENAME/.amr/.${DATUM}.amr}
done
exit 0