Bash Shell Scripts

In an effort to speed up my work flow, I’ve taken to implementing a heavy dose of awk, and bash shell scripting in my day to day. Most of the time I just deploy quick and dirty awk commands in the Terminal, or compress complex commands to handy .bash_profile aliases. As I notice a bigger pattern to my work, or just have to repeat a number of tasks in a consistent manner, I’ll work up a little bash script.

It should be stated that these scripts worked for me™, but are provided without warranty of any kind. So please – don’t come crying if they eat your home folder or create worm holes in your refrigerator.

  • WordPress – Generate Update
    Generate the necessary sql statements to move a WordPress site from one environment to another
  • SVN: New Repository
    If there is one thing I do with every new subversion repository, its create trunk, tags, and branches directories, and import any existing project files (if I any exist). This script automates this process.
  • Random Password
    A quick and dirty script to generate a random string, useful for creating semi-strong passwords.

Leave a Reply

Your email address will not be published. Required fields are marked *

*

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong> <pre lang="" line="" escaped="" highlight="">