Scripting

Shell scripts for archiving digital photos in directories by month

This is my version of the shell script “Shell scripts for archiving digital photos in directories by date“. It utilizes  the exiftags command available in most linux distributions like Gentoo and debian Linux. Though the metacam program is also usefull since it can read Nikon NEF-files.Here’s an example of a directory tree they create: 2006 […]

Read More
Linux

Finding which package contains a file in Debian

There are times when you’re looking for a particular library, or file, which you know is available to Debian/Ubuntu but you cannot find the package which contains it. This is the kind of job that the Debian packages site helped with in the past, but given its current unavailability we’ll look at another approach.

Read More
Linux

Howto duplicate a Debian setup

This post describes howto reinstall or duplicate a Debian or Debian based distribution like Ubuntu. First we need to extract the installed packages on the source server and save them in a file debian:~# dpkg –get-selections >> packages Now we move to the target server and set the package selections according to the package file […]

Read More
Linux

Howto install Sun Java on Debian Etch

The original Sun Java 2 is available in the ‘non-free’ section of the Debian repositories. To enable this section first add the non-free repository to the apt sources file – the /etc/apt/sources.list should look like, – important parts are in bold:

Read More