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!

nice work

GOOD WORK

Post new comment

The content of this field is kept private and will not be shown publicly.
Syndicate content