Steven Scholnick » Scripts

This is a collection of scripts (all Perl) that I have developed over the years to make my life easier. I have decided to share them. They are all licensed under LGPL. They come with no warranty, but I can offer email support. Most of the these scripts are still under active development. All scripts have been tested under MacOSX but they should run under any *nix.

There is a little documentation (via --help command line parameter) but most of the scripts are self-explanatory. Some require other Perl modules that can be installed via CPAN, and one uses an external Unix tool, those are noted.

abe
AddressBook Exporter (abe) for MacOSX. abe will export your mailing addresses to a plain text file. The default output file is ~/Desktop/Addresses.txt, but that can be changed with the --out command line option. abe uses DBD::SQLite to access the data.
album
Creates a simple online Image gallery from a set of JPEGs, e.g. my Paris pictures. It relies on ImageMagick to process the files; it uses the convert command line utility.
checklinks
Checks links in a local HTML file.
dateTree
Creates a tree of pictures separated into date directories. The JPEG's creation date is used, which is stored in the JPEG by the digital camera. All duplicates will be removed. Uses ExifTool module to read the creation date.
rename
Powerful file renamer. Performs: substitution, removal, append, and prepend. See --help for syntax.
space
Prints out disk usage in MBs
zap
Kills applications by name. It is different than killall in that it can kill an app by just part of the name