Executing multiple drush commands I manage a lot of Drupal sites and drush is a lifesaver. I usually script what I need done and then loop over all of the sites.

Many times I need to execute several Drush commands on the same site. Because Drush has to go through the bootstrap process for each command it can be a bit slow. So if I do three commands, Drupal gets bootstrapped three times. Example:


drush cc all
drush dl freds_module
drush en --yes freds_module


So is there any way to run multiple commands with one bootstrap? Something like:
drush "cc all" "dl freds_module" "en --yes freds_module"

The idea is to bootstrap drush only once rather than three times. If it is not possible, I'll still be happy with Drush.

Thanks.
From my personal experience, I would run these tree commands like this:
drush cc all; drush dl freds_module; drush en freds_module --yes. I use semicolons to separate my commands. You can also use the ampersand(&amp;&amp;), drush cc all &amp;&amp; drush dl freds_module &amp;&amp; drush en freds_module --yes. Here, if one command fails, the rest will not run.