drush - the powerful bash tool for Drupalistas

drush - the powerful bash tool for Drupalistas

### Enable/Disable all Noncore Modules at once ###

drush pm-list --type=module --status=enabled | sed '/\((.*)\)/!d;/[Cc]ore.*-.*[Rr]equired/d;s/.*(\(.*\)).*/\1/' | sort > noncoremod.txt
drush pm-disable $(cat noncoremod.txt)
drush pm-enable $(cat noncoremod.txt)

##### Find out which version an installation profile has #################
drush rq | grep -i 'install profile'

#### Call Drupal Status-Report via bash ##############
drush core-requirements

#### find out status of a certain Module ################
drush pm-list | grep easy_booking

######## Get almost all information there is about a certain module within a Drupal Installation #######
drush pm-info |grep views

 

  1. :