Initial version of the script for publication. Has undergone some testing to get it to work.
Seems to output something sensible for gource. Still not sure about the removal of files. Haven't investigated enough to see how that appears in lshistory.