Created
August 5, 2011 15:06
-
-
Save jonchretien/1127727 to your computer and use it in GitHub Desktop.
New Project Bash Script
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/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