Thursday, 25 November 2010

Drush - enabling modules with a space in their name

Problem: Within CCK there is a module called "Content Copy".

drush en "content copy" returns an error. How do I install a module with a space in it's name?


Answer: Use drush sm to list the available modules in your drupal instance.

In the "Name" column of the output generated you will see

Content Copy (content_copy)

in the CCK section.

Therefore the drush command is:

drush en content_copy

No comments:

Post a Comment