Skip to content

Instantly share code, notes, and snippets.

@jonchretien
Created August 5, 2011 15:06
Show Gist options
  • Save jonchretien/1127727 to your computer and use it in GitHub Desktop.
Save jonchretien/1127727 to your computer and use it in GitHub Desktop.
New Project Bash Script
#!/bin/bash
# creates a new project template
# http://linuxdevcenter.com/pub/a/linux/lpt/18_15.html
# usage:
# $ ~/bin/project.sh projectname
# copy project directory
mkdir $1
# move into new directory
cd $1
# copy template files to new directory
cp -r ~/Sites/_template/ .
# open with textmate
mate open .
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment