Obnam Manual version 1.8

A new version of the manual, complete with “Table of Contents”, an “Index” which includes all of the commands available.

Obnam Manual v1.8

The Obnam Manual, version 1.8 of 2014, is a PDF document designed to be read and used online and not printed out. It weighs in at 148 kbs but is still very useful. It is a "work-in-progress" so you will see it changing as time goes on. It explains very simply, with sample configurations, how to use “Obnam” for your backups, and how to restore from these backups. 

Now with Table of Contents, and an Index, which also includes all of the commands. 

Updated on 11 September 2014.


Tagged , , | Leave a comment

Obnam Manual v1.5

A new version of the manual, complete with “Table of Contents”, and an “Index” which includes some of the commands available.

Removed as new version updated.

Tagged , , | Leave a comment

Transferring books to a Kindle Fire

Debian see’s a Kindle Fire as a mtp device[mtp], so you have to mount it as “jmtpfs /media/boudiccas/k2″ where k2 is your device name, which then says –

##jmtpfs /media/boudiccas/k2
Unable to read MTPZ public exponent from ~/.mtpz-data, MTPZ disabledDevice 0 (VID=1949 and PID=0007) is a Amazon Kindle Fire (ID1).
PTP_ERROR_IO: failed to open session, trying again after resetting USB interface
LIBMTP libusb: Attempt to reset device

and it mounts it to “/media/boudiccas/k2″ which you can verify by opening it
in your file manager, which then shows “/media/boudiccas/k2/Internal storage”.

From here you are supposed to be able to rsync or obnam backup, except that you get loads of errors which make it virtually unusable.

So how do you get it so that you can access the file system on the kindle
fire? I’ve tried using “airdroid”, an android app on the kindle, but this
didn’t work for me.

The solution is to use an android app called “ftp server”, and with the kindle fire connected to your computer using a USB cable, start “ftp server” on the kindle, and it will display on the screen something like this –
Username: francis
Password: francis
Anonymous user enabled
home directory:/mnt/sdcard

Then on your computer you need to start “krusader”, and use “New net
connection” and put the above ftp details into the popup window, and it will connect to the kindle fire and its familiar file-tree. From here on you can transfer over books to whatever directory that you want.

You can verify that they have transferred successfully by them appearing on the carousel of the kindle. Success!

By using “krusader” you can transfer files across anonymously and delete files on the kindle fire, if you try using “filezilla” it won’t allow you to delete
any files nor transfer files over. It is the same if you try using “gFTP”.

mtp: “media transfer protocol”, a MS-windows specific protocol.

Tagged , | Leave a comment

Obnam Manual v1.4

A small upgrade to the manual, giving it 60 pages, and slightly easier to understand, I hope.

Removed as the “Obnam Manual v1.5″ is released.

Tagged , , | Leave a comment

beeb v-6.0

Another release of “beeb” with its PDF “User manual”, which now gives you the ability to trim your download history, and a much simplified menu system.

The user manual is a complete rewrite to make it simpler and easier to understand. And also details all of the changes from the previous version.


The source code for beeb-v6.0, and the PDF manual, all ready to go. 

The Beeb Manual

The Beeb Manual, version 6.0, is a PDF document designed to be read and used online and not printed out. It weighs in at 55kbs but is still very useful. This is a complete rewrite to make it simpler and easier to understand. 

Tagged , , , , , | Leave a comment

Introducing the “Obnam Manual 2014 – v1.1″ UPDATE – v1.3

This is to introduce to you the newly created “Obnam Manual” which is a work-in-progress and not complete, but it is still very useful. It explains very simply, with sample configurations, how to use “Obnam” for your backups.

Any comments or suggestions will be passed along to the obnam developers. Thanks.

Tagged , , | Leave a comment


Another release of “beeb” which now includes a PDF “User manual”, the ability to programme your timeout period, and really up-to-date information about the legal usage of “get-iplayer” and “beeb”.

The user manual shows exactly what the commands do and how to answer them, and proceeds in a logical manner from start to finish.

The ‘Beeb Manual v5.2′ has been removed, as it has been superseded by v6.0.

Likewise the source code for ‘beeb-v5.2′.

Tagged , , , , , | Leave a comment

Life on the bleeding edge 2 – get_iplayer.


  • Downloads MP4 streams from BBC iPlayer site with better quality than Flash player streams
  • Downloads Flash AAC/MP3 and WMA streams for radio programmes
  • Allow multiple programmes to be downloaded using a single command
  • Indexing of all available iPlayer programs
  • Caching of Index (default 4h)
  • Regex search on programme name
  • Regex search on programme description and episode title
  • PVR capability (may be used from crontab)
  • Full HTTP Proxy support
  • Runs on Linux (Debian, Ubuntu, openSUSE and many others), OS X (10.5+) and Windows (XP/Vista/7/8)
  • Requires perl 5.8.8+ with LWP module

There are several ways of getting get_iplayer, and the current version is
2.86 and the current version is 2.83-1 in Debian “Jessie” –

Method 1

–8<—————cut here—————start-————>8—
wget https://raw.github.com/dinkypumpkin/get_iplayer/latest/get_iplayer
–8<—————cut here—————end—————>8—
After downloading the script make it executable:

chmod 755 ./get_iplayer

and then place it in an executable path like $HOME/bin or /usr/local/bin.

The first time you run the script it will create a settings directory
(~/.get_iplayer) and download plugins. It will then access the BBC website and
create an index of all TV programmes currently on iPlayer.

Method 2

But this is my preferred way

set -e
#: Title                : getbuild
#: Date             : 23 April 2014
#: Version          : 1.0
#: Description      : To make it easier to get get_iplayer, and then keep it up to date
#; Requirements     : atomicparsley rtmpdump id3v2 libid3-3.8.3c2a git
#; Possible requirements  : flvstreamer libwww-perl libxml-simple-perl perl libmp3-info-perl mplayer ffmpeg libav-tools
# Copyright (C) 2014  Sharon Kimble 
log=~/logs/getbuild.txt-$(date +%Y%m%d-%R).txt
exec > >(tee -a $log) 2>&1
echo "$(date +%Y-%m-%d\ %H:%M:%S)" >> $log

### First run
cd $HOME/git
git clone https://github.com/dinkypumpkin/get_iplayer
cd $HOME/git/get_iplayer
sudo cp get_iplayer /usr/local/bin
cd ~

### Second and subsequent runs
#if [ -d "$HOME/build/get_iplayer/" ]
#    echo;
#   mkdir "$HOME/build/get_iplayer/"; cd ~ ; echo;
#cp /usr/local/bin/get_iplayer $HOME/build/get_iplayer/get_iplayer-$(date +%Y%m%d-%R)
#cd $HOME/git/get_iplayer
#git pull
#sudo cp get_iplayer /usr/local/bin
#cd ~

To use it, make it executable and then just place it in an executable path,
like $HOME/bin or /usr/local/bin.

The first time it runs it will download the current git repo, and then copy
“get_iplayer” to /usr/local/bin after prompting you for your password. Then
you can just use it exactly the same as the packaged version from your repo.

Tagged , , , | Leave a comment

Ranking of percentage of free space on your drives

I recently came across a rather splendid command that shows your drives and their percentage of free space. And it is –

df -hP |column -t |tee >( head -n1 > /dev/stderr ) |grep % |sort -k5nr

and in my case it shows this –

Filesystem  Size  Used  Avail  Use%  Mounted                 on
/dev/sdd1   2.7T  2.0T  579G   78%   /media/boudiccas/back1
/dev/sda1   287G  147G  126G   54%   /
/dev/sde1   2.7T  1.2T  1.5T   46%   /media/boudiccas/back3
/dev/sdc1   917G  298G  573G   35%   /media/boudiccas/back4
/dev/sdb1   1.8T  322G  1.4T   19%   /media/boudiccas/back2
tmpfs       354M  40M   315M   12%   /run
tmpfs       2.1G  80K   2.1G   1%    /run/shm
Filesystem  Size  Used  Avail  Use%  Mounted                 on
none        4.0K  0     4.0K   0%    /sys/fs/cgroup
tmpfs       5.0M  0     5.0M   0%    /run/lock
udev        10M   0     10M    0%    /dev

As you can see it ranks your drives by their usage, which is rather nice.

Tagged | 1 Comment

QupZilla problems.

A screenshot showing the problems that I’m having using Qupzilla with fluxbox/compton/plank. What you see there is a “ghost-image”, qupzilla is *not* running, yet it still shows its icon in plank at the bottom, and its window outlines on the workspace. Its a mystery!

Leave a comment