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,
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
Comment #1
moshe weitzman commenteddrush 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.
Comment #2
magico commentedcould it just list all the "directories" within the sites folder and use it as the base list?
Comment #3
robloachHaving the ability to iterate over all site directories would indeed be nice. Not sure how we could do it though.
Comment #4
moshe weitzman commentedwe can't reliably do it since we sites subdir name != base url.