Update contributed modules by drush

<p>drush pm-update It supposed to do everything. But for my case it does not. It only shows the list of all modules those need to be updated. It does not download new codes. So what I did? I've first disabled the module drush pm-disable xyz It can cause to disable all the dependent modules. I kept the name of these modules also. Then I've moved the directory to my backup mv sites/all/modules/contrib/xyz /my/backups/ Download the module drush pm-download xyz --destination=sites/all/modules/contrib/ Enable the module drush enable xyz Enable all the dependent modules drush enable abc</p>

Share this post

Leave a comment

Filtered HTML

  • Web page addresses and e-mail addresses turn into links automatically.
  • Allowed HTML tags: <a> <em> <strong> <cite> <blockquote> <code> <ul> <ol> <li> <dl> <dt> <dd>
  • Lines and paragraphs break automatically.

Plain text

  • No HTML tags allowed.
  • Web page addresses and e-mail addresses turn into links automatically.
  • Lines and paragraphs break automatically.