I apologize if this is more a unix question than a Drush question, but...

I have a text file that contains one line with all the names of my enabled modules, it looks like this: admin_menu advanced_help backup_migrate ...

I created it by executing drush statusmodules --pipe > modulelist.txt

I then edited the file to remove the 5 core modules that should never be disabled (see http://drupal.org/node/511586#comment-1781960 )

Now, I'd like to do something like drush disable < modulelist.txt but that isn't working. Is there some way I can feed a text file to a drush command?

Comments

xlyz’s picture

Status: Active » Closed (fixed)