drush
drupal: deleting all content via drush
Submitted by benl on Thu, 06/17/2010 - 18:24
Related Terms :
# in drush 3, "generate content" should be "generate-content", hence --allow-spaces-in-commands=true
# 0 0 means create no new nodes /comments
# --kill=true actually does the delete
drush --allow-spaces-in-commands=true generate content 0 0 --kill=trueadding aliases the easy way
Submitted by benl on Thu, 05/06/2010 - 13:59
Related Terms :
I'm always forgetting the syntax..
echo "alias drush='~/drush/drush'" >> ~/.bash_profile
source ~/.bash_profile