Batch update modules or themes of Drupal 6/7 in command line
I wrote a simple script that parse the module's page and install or update the most up-to-date version.
This works for themes as well. To use it, simply go into a modules or themes folder and run one of the tool.
Valid folders are:
- /modules
- /themes
- /sites/all/modules
- /sites/all/themes
- /sites/*/modules
- /sites/*/themes
drupal-install-module.sh will install or update one module, drupal-update-modules.sh will batch update all modules in current folder.