Handy Drupal command-line shortcuts

Add these lines to your ~/.bash_profile if you're using the Bash shell:

alias ddiff="cvs diff -u -F^f -N > "
alias dhead="cvs -z6 -d:pserver:anonymous:anonymous@cvs.drupal.org:/cvs/drupal checkout drupal"
alias dupdate="cvs update -dP"

Now you have three new commands at your disposal:

ddiff
Usage: ddiff patchfile.patch, creates a patch file.
dhead
Usage: dhead, checks out Drupal HEAD in the current directory.
dupdate
Usage: dupdate, updates the current directory recursively.

Comments

Sweet

Thanks ;) Keep'em coming man!

Syndicate content