drush pm-updatecodefor drush 6x


Update Drupal core and contrib projects to latest recommended releases.

drush pm-updatecode

  • Aliases


    pm-updatecode has 1 alias/es:


    drush upc

  • Arguments


    pm-updatecode accepts 1 argument/s:


    projects : Optional. A list of installed projects to update.

  • Options


    pm-updatecode accepts 11 option/s:


    --notes : Show release notes for each project to be updated.

    --no-core : Only update modules and skip the core update.

    --check-updatedb : Check to see if an updatedb is needed after updating the code. Default is on; use --check-updatedb=0 to disable.

    --lock

    --lock : lock

    --version-control=backup

    --version-control=backup : version-control=backup

    --version-control=bzr

    --version-control=bzr : version-control=bzr

    --version-control=svn

    --version-control=svn : version-control=svn

    --cache : Cache release XML and tarballs or git clones. Git clones use git's --reference option.

    --package-handler=wget

    --package-handler=wget : package-handler=wget

    --package-handler=git_drupalorg

    --package-handler=git_drupalorg : package-handler=git_drupalorg

    --security-only : Only update modules that have security updates available.

  • Examples


    Update contrib projects, but skip core.

    drush pm-updatecode --no-core

    To show a list of projects with their update status, use pm-updatestatus instead of pm-updatecode.

    drush pm-updatestatus --format=csv --list-separator=" " --fields="name,existing_version,candidate_version,status_msg"

  • Comments


    comments powered by Disqus