Hi,

A nice feature is to support the "*" as an URI so the command can be executed within all sites in a multi-site installation.

Regards,

Comments

moshe weitzman’s picture

drush does not know all your multi-site URLs and can't easily discover them as most sites do not hard code a base_url in settings.php. i think that we need a wrapper script which iterates over a list of configured --uri values and runs the specified command on each site. or perhaps this could be incorporated into the drush bash script that now ships with drush.

magico’s picture

could it just list all the "directories" within the sites folder and use it as the base list?

robloach’s picture

Version: All-Versions-2.0 »

Having the ability to iterate over all site directories would indeed be nice. Not sure how we could do it though.

moshe weitzman’s picture

Status: Active » Closed (duplicate)

we can't reliably do it since we sites subdir name != base url.