Really useful drush commands
May 10, 2012
Here are some really useful drush commands. You can find them all at the drush documentation site but I figured I’d save people some time hunting
- drush @sites en context features spaces {etc}
- drush @sites dis og taxonomy {etc}
- drush @sites updb
- drush dl regions hidden_nodes {etc}
- drush up views cck {etc}
- drush @sites cc all
- drush @sites cron
- drush up drupal
in order of appearance
- enable the following modules on all sites in the multisite
- disable the following modules on all sites in the multisite
- update the database on all sites in the multisite
- download the following modules and put them in sites/all/modules
- upgrade the following modules
- clear all caches on all sites in the multisite
- run cron on all sites in the multisite
- upgrade drupal core to the latest version
Considerations: This will create a backup folder when it updates modules / themes / drupal but be careful with it as it’s insanely powerful. Extremely useful for helping to standardize functionality across your sites.