Scripting

Extracting images from Adobe Acrobat PDF file

This is a short example of how to extract images from a PDF file using ImageMagick # convert thePDFfile.pdf page-%03d.png # ls page* page-000.png page-001.png page-002.png Imagemagick can also be used to create Adobe Acrobat PDF documents convert DSC* resultFile.pdf The resultfile contains one image per page.

Read More
Linux

Align output from commands using column

The column command is a little shell command that makes it easy to print the results in a aligned fashion. Example 1 /dev/mapper/vg0-root on / type ext3 (rw,errors=remount-ro) tmpfs on /lib/init/rw type tmpfs (rw,nosuid,mode=0755) proc on /proc type proc (rw,noexec,nosuid,nodev) sysfs on /sys type sysfs (rw,noexec,nosuid,nodev) procbususb on /proc/bus/usb type usbfs (rw) udev on /dev […]

Read More
Linux

Cold backup for the Open Source Edition of Zimbra

Today I’ve setup a cold backup routine to backup my Zimba installation running on my Debian (Etch) 4.0 server that is in full production now for my private domains. This is a slightly modified backup script for the Open Source Edition of Zimbra from the Zimbra Wiki. Please note that the script does a full […]

Read More