1

In the process of developing a site I inevitably install modules thinking they are the ones I want but they are not. I am looking for drush command to find these modules to disable them and reduce my resource overhead. Can anyone point me in the right direction?

maybe something like [drush resource cleaner];

  • 2
    drush read-my-mind ;) – David Thomas Feb 12 '13 at 2:46
1

Drush has no way of knowing if a module might have some hook that is performing an active service for the site, even in the absence of any configuration information, so no, this feature is not available.

0

Not possible with Drush, but try the Master module. Here is a quote about it (from the module's project page):

... provides utilities for controlling the module status of all modules in the whole installation by a single Drush command. The configuration is done by defining "master modules". "Master modules" are (in most cases) custom modules or features, that provide dependencies to all modules that are needed to run the site. In combination with Features and maybe some custom code and scripts the whole site configuration can be managed via that approach.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.