Bilder per Batch aus Picasa runterladen

Normalerweise benötigt man selbst einen Picasa-Account, um ein komplettes Album eines anderern Picasa-Benutzers in einem Rutsch runterzuladen. Leider gestattet Google keinen direkten Download, sondern nur einen Download in ein eigenes Picasa-Album.

Allerdings gibt es den Picasa Tiny Downloader. Das Tool parst einfach den RSS-Feed und lädt alle Bilder in einzelne Dateien runter. Leider gehen dabei die ursprünglichen Dateinamen verloren.

Migrating from courier imap to exchange 2007 using imapsync

The following blogpost describes my experience when migrating from courier imap to an exchange 2007 server with the help of imapsync. The intend is not to provide a complete howto but rather reflect my thought and experiences during the migration phase.

Continue reading “Migrating from courier imap to exchange 2007 using imapsync”

Superuser / administrators group in courier imap

One not obvious feature in courier imap is the superuser account. The feature is a bit hidden in documentation for courier-authlib (see man auth_generic). It is based on the IMAP group functionality of courier.

You can assign a user account to different groups independently from other (system) groups the belongs to. The group assignement is implemented with the option field in courier-authlib, see man auth_generic.

There is a special group name “administrators”. If you assign one account to that group you have automatically full access to all other users mailboxes and folders over the #shared namespace. This is especially usefull when doing e.g. email migration over IMAP from one server to another.

If you use courier-authlib-ldap there is neither a explicit option field nor a groups field in couriers LDAP scheme. But you can assign arbitrary text attributes to group setting with the LDAP_AUXOPTIONS variable. As I don’t use the sharedgroup attribute I simply misused it for the group setting by adding the following to /etc/authlib/authldaprc:

LDAP_AUXOPTIONS disableimap=disableimap,disablepop3=disablepop3,disablewebmail=disablewebmail,sharedgroup=group

Git: Reverting files in working copy

If you have want to revert some single file in your working copy to the “official” repository version use $ git checkout filename. git revert does not work like in other versioncontrol systems, instead it reverts already submitted changes.

If you want to revert the whole working copy use git reset.

See also man page of git-revert and Bryan Murdocks blog post.

Correct wrong exif timestamps

Found out that the exif timestamps of my last holiday pictures had the wrong timezone. This can be easily corrected with Phil Harveys exiftool. There is even a description of exactly that problem in the documentation

In my case I did not only correct the timezone shift, but also the error to UTC time. For this purpose I simply took a picture of my GPS receivers clock display to compare the GPS / UTC timestamp to the EXIF data. It was a time shift of plus 59 minutes and 39 seconds so I used the following command line:

$ exiftool -AllDates+=:59:39 pictureDirectory

Note that by default exiftool generates backup copies to *_original files which you may want to delete afterwards.