[development] CLI update
nabil at gobrighttree.com
Mon Mar 2 19:58:20 UTC 2009
w00t w00t! thanks a ton.
On Mon, 2009-03-02 at 14:23 -0500, Matt Chapman wrote:
> Nabil Alsharif wrote:
> > I tried it on a D6 multi-site setup when it didn't work.
> Here's the script I use for CLI updates on a D6 multi-site installation
> I think I got it from an Acquia blog post? Can't remember how much I
> tweaked it, if at all. To update all the sites at once, I call it from
> inside another script that basically looks like this:
> for f in `ls drupal-root/sites/`
> echo "Updating: $f"
> php -d memory_limit=96M -f drupal-update.sh -- -s $f -r drupal-root/ -m -u &
> To do a dry-run to check if updates are needed, replace `-m -u` with `-l
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Size: 197 bytes
Desc: This is a digitally signed message part
Url : http://lists.drupal.org/pipermail/development/attachments/20090302/90fd7401/attachment.pgp
More information about the development