Welcome to Scribd, the world's digital library. Read, publish, and share books and documents. See more
Download
Standard view
Full view
of .
Save to My Library
Look up keyword
Like this
9Activity
0 of .
Results for:
No results containing your search query
P. 1
Drush 4 Cheat Sheet

Drush 4 Cheat Sheet

Ratings: (0)|Views: 4,346 |Likes:
Published by wizzlern
A cheat sheet with frequently used Drush command. Control Drupal from the command line and write shell script to automate your Drupal routines. Download one from http://wizzlern.nl/drupal/drush-4-cheat-sheet
For Drush version 4.
A cheat sheet with frequently used Drush command. Control Drupal from the command line and write shell script to automate your Drupal routines. Download one from http://wizzlern.nl/drupal/drush-4-cheat-sheet
For Drush version 4.

More info:

Categories:Business/Law
Published by: wizzlern on Jun 16, 2011
Copyright:Attribution Non-commercial

Availability:

Read on Scribd mobile: iPhone, iPad and Android.
download as PDF, TXT or read online from Scribd
See more
See less

12/19/2012

pdf

text

original

 
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

Activity (9)

You've already reviewed this. Edit your review.
1 hundred reads
1 thousand reads
andy4670 liked this
buzkall liked this

You're Reading a Free Preview

Download
/*********** DO NOT ALTER ANYTHING BELOW THIS LINE ! ************/ var s_code=s.t();if(s_code)document.write(s_code)//-->