GNU/GPL Logo

This section contain all my scripts and utilities published under the GPL licence. All of these have been tested, but are provided as is and with no guarentee - back up your data first, I am not responsible for anything bad that happens to you as a result of using these.

If you want to report me a bug, make sure that you already read the famous “How to Report Bugs Effectively” document. Else, both you and me will loose precious time.

Python script source Maildir++ to Kmail import

This script import a Maildir++ directory and its subfolders to Kmail.

Prerequisite: python.

Python script source KNewsTicker to Akregator: feeds importer

This script parse the KNewsTicker configuration file of the current logged user to extract feeds references. Then the script generate a OPML/XML file that can be imported to Akregator.

Prerequisite: KNewsTicker and pyxml.

Python script source website-backup.py

This script automate the mirroring of several external websites (both files and MySQL databases) thanks to lftp, mysqldump, ssh and rsync. Then it make an incremental backup each day thanks to rdiff-backup and finally a snapshot each month. Here is the list of latest changes and detailed features.

Python script source system-backup.py

This script automate system backups thanks to rdiff-backup and rsync. It is based on an idea from the “Backup up on unreliable link” article from the official rdiff-backup wiki.

Python script source confsaver.py

A little python script to save a collection of files and directories into a bzip2 compressed archive.

Python script source KopeteChatRenderer.py

This little script transform a Kopete history XML file to an ascii file. I’ve written this script to be able to copy and paste my chat with pals in e-mails.

PHP script source Phorum to e107 migration script

This script is designed to migrate phorum 3.x datas to a new empty e107 website. The destination e107 platform must be empty because this script copy phorum id and don’t re-index database records.

Python script source avi2mp4.py

This script convert avi files within the folder to compressed mp4/mp3 movies. Codecs parameters are adapted for tiny films taken with my cheap camera.

Python script source audio-file-normalizer.py

This script parse a .m3u playlist file and convert Ogg/Vorbis and Flac files to AAC.

Tiny scripts

Those scripts are quite old and/or very specific, so you probably need to update or tweak them to fit your needs.

  • findDuplicates.py — This script use md5sum to track duplicate files in a folder.
  • phorum_anon2user.php — This is a little script I wrote for Phorum, to give a owner to anonymous post.
  • phorum_bodies_update.php — Script to convert old message format to new format (with the conversion of html tags to phorum specific tags).
  • process-monitoring.py — This script, combined with cron, help me to keep an eye on a running process.
  • mldonkey-auto-download.sh — Combined with a cron entry, this script scan a given folder and auto start downloading torrent files found in that folder. Based on mldonkey and wget.
  • monthly-internet-uptime.py — This script help me to monitor how long my backup Dial-up modem is up per month.
  • adsl-monitoring.py — Used with cron, this script help me to keep my broadband access alive.
  • crop-tiff-images.py — This script crop big tiff files in the folder one by one. I wrote this script as a stupid but working workaround because ImageMagick can’t handle too many files at once (at least on my Mandriva 2005, it always crash after several files processed).
  • xwd2png.py — This script convert .xwd images taken with xvidcap to a series of .png images. I wrote this because mencoder can’t read xwd files.
  • osdir-slideshow.py — I wrote this script to get a series of screenshots from well-known OSdir slideshows.
  • la-bas.org-archive-download.py — Similar to the previous script but designed to download Ogg archives of a french radio show thanks to wget.