HELP
drush
Show all available drush commands.
drush help
command
command
A drush command to get helpabout.
drush topic
topic
More drush documentation.
Recommended
topic
Drush help topic, number orname.
GLOBAL OPTIONS
-v, --verbose
Display extra information.-d, --debug
Display even more information.-y, --yes
Assume 'yes' at prompts.-n, --no
Assume 'no' at prompts.-s, --simulate
Don't actually make changes.-p, --pipe
Compact output for scripting.-h, --help
Command help
drush --yes en views views_ui
CORE: CACHE
drush cache-clear
type
drush cc type
type
Cache type; name or number.
1: all
2: theme registry
3: menu
8: registry
9: node access
drush image-flush
style
style
Flush derived images of thisstyle; name or number.--all = All styles.
drush search-reindex
options
options
--immediate
Rebuild search index now.Don't wait for cron.
CORE: SITE
drush core-statusdrush status
Status of the Drupal installation.
drush site-install
profile options
drush si
argument options
profile
Install Drupal with this installprofile. e.g. 'expert'.options--db-url
Drupal 5/6 style db URL.--account-name
User account name.--account-pass
User password.--account-mail
User email address.--locale
Language codes.--site-name
Site name.--site-mail
Site email address.
drush site-upgrade
@target options
drush sup
@target options
Run a major version upgrade of the current Drupalinstallation. Source installation will not change.target
Alias definition for upgraded site.options--replace
Replace target if exists.--reuse
Reuse target if exists.
drush updatedbdrush updb
Apply required database updates (as update.php).
drush core-crondrush cron
Run cron.
drush search-index
Index the remaining search items.
CORE: DEVELOPMENT
drush php-eval
code
drush eval
code
code
Run this PHP code afterbootstrapping Drupal.
drush eval "print_r(language_list());"
drush php-script
file options
drush scr
file options
file
Execute this PHP file afterbootstrapping Drupal.options--script-path
Path to PHP script file.
drush variable-delete
variable
drush vdel
variable
variable
Drupal variable name or namestarting with 'variable'.
drush variable-get
variable
drush vget
variable
variable
(part of) Drupal variable name.
drush variable-set
variable
drush vset
variable
variable
Drupal variable name or namestarting with 'variable'.
drush watchdog-delete
message options
drush wd-del
message options
message
Message to delete.options--severity
Message severity.--type
Message type.
drush watchdog-show
message options
drush wd-show
message options
message
Watchdog message to show.options--count
Number of messages.--severity
Message severity.--type
Message type.--tail
Continuously show messages.
CORE: DEPLOYMENT
drush core-rsync
source destination
drush rsync
source destination
source
Rsync path or site alias ofsource installation.destination
Rsync path or site alias ofsource installation.options--mode
rsync flags.--include-conf
Rsync settings.php.--exclude-sites
Exclude sites/ except sites/all/.--exclude-path
List of paths to exclude.--include-path
List of paths to include.
drush site-alias
options
drush sa
@alias options
alias
Show this site alias definition.
!
June 2011
!
Drush 4
!
www.wizzlern.nl/drupal/cheat-sheets
Drush 4