bash

This section contains scripts written for the Bourne Again SHell (bash). bash is one of the widest spread shells for unix systems, at least on linux systems it is a de facto standard. Thus there is a good chance that you can run these scripts on your machine.

In very rare cases you will have to modify the scripts' first line which points to the location where bash is installed.

 

dvd2divx 1.13   [directory]  

This script covers all steps that are necessary to transcode a movie from DVD into a movie in DivX format.

It is basically a frontend for `mencoder', the encoding software that is part of the `mplayer' distribution. mencoder is highly configurable and enables you to create high quality video encodings.

This script is meant to be a compromise that provides good configurability and still handles the generation of the complicated mencoder commands with many parameters.

How to get started: download the archive, look at the INSTALL file for installation instructions and please read the MANUAL file -- it is extensive and will answer most of your questions. If something is incomprehensible to you, write me an email.

IMPORTANT LEGAL NOTICE: Please keep in mind that, depending on the laws in your country, creating a copy of a DVD might be prohibited, even if you own it and the copy is for private use only. Make sure that your data source permits duplication!

Note that I stopped further development of this script, but I recognized that this section of my website is quite frequently visited. Thus, I assume that some people out there find it helpful. If you do so and want to add features, fix bugs, or adapt the commands to newer mplayer versions feel free to do so. Just drop me a line and I'll add a link to your website.

 

numbered 0.32   [directory]  

This script takes a list of files as arguments and renames them to include ascending numbers. This process can be highly customized: the resulting filenames can also contain user-defined text, the number of digits and the counter's start can be defined, the extensions' case can be converted etc.

For example, this may be helpful if you want to rename some photos in a way similar to this:

DSCN0120.JPG .. DSCN0179.JPG --> NewYork_000.jpg .. NewYork_059.jpg

To achieve this you would type: numbered -b NewYork_ -c DSCN*.JPG