bash

Improved drupal module script

After writing my drupal module download script, it worked just fine, save for one problem: I work on multiple Drupal sites hosted on different servers. Editing .bashrc files can get tedious, so I decided to turn "getmod" into a standalone shell script.

Quick and Dirty MySQL backup from BASH

Yet another thing I hate to do by hand is create backups of my database on demand. I hate giving them names, and I hate typing out a long linux command to get it done. However, when upgrading to a new version of drupal, or making any big system change, it's important to have a working database backup.

Our savior, yet again, is a function written to our .bashrc file.

Drupal module install script

Update: This script has been improved here.

While developing a new Drupal site, one tends to install lots of modules to shape his site into something specific. The problem is, doing so through a GUI takes much more time than I care to spend.