Drush Rezepte

Sun, 29/04/2012 - 19:16

Install a complete site

First download drupal: drush dl drupal
  1. drush site-install standard --account-name=USERNAME --account-pass=PASSWORD --db-url=mysql://USER:PASSWORD@localhost/DATABASENAME

Die installieren Module von zwei Seiten vergleichen

drush pm-list --status=enabled > enabled_modules_site_x.txt dann diff first_file second_file

Disable aller nich tcore module

$ drush pm-disable `drush pm-list --no-core --type=module --pipe`

More articles

Add new comment
The content of this field is kept private and will not be shown publicly.

Plain text

  • Allowed HTML tags: <a href hreflang> <em> <strong> <cite> <blockquote cite> <code> <ul type> <ol start type> <li> <dl> <dt> <dd> <drupal-entity data-*>
  • Web page addresses and email addresses turn into links automatically.
  • Lines and paragraphs break automatically.