The Stack Overflow podcast is back! Listen to an interview with our new CEO.

Questions tagged [drush]

Use it for questions about the command line shell and Unix scripting interface for Drupal (a.k.a. Drush).

Filter by
Sorted by
Tagged with
3
votes
1answer
123 views

Does drush fire hook_exit()

I am trying to write my own drush command. I have a hunch that something is not quite working right. I can't see documentation saying whether drush fires hook_exit() Anyone know this?
3
votes
1answer
1k views

drush make and drupalcode patches

I would like to download the stable version of a project and apply a patch. This patch was not submitted but applied directly to the project. I have the following drush make file (just a test snippet) ...
20
votes
2answers
8k views

How can I tell Drush in which folder should a module be copied?

Is there a way to make Drush download modules into a specified folder besides sites/all/modules (e.g. sites/all/contrib, sites/all/core)? If this makes a difference, I am using Drush 4.4.
2
votes
2answers
642 views

Aegir / drush alias issue: profiles specified at command line get forgotten

Note: Aegir is an installation / site management tool for drupal sites & platforms. See http://community.aegirproject.org/ for details. This question may be down to an Aegir issue or a drush one; ...
19
votes
6answers
10k views

Is there a drush script to disable all caches?

I mean all of the caching options under admin/settings/performance. I frequently use drush sql-sync to keep my development copy up-to-date with the server. However, the server must have all of the ...
20
votes
5answers
9k views

Is there a way to get Drush to download all required dependancies for a specific module?

For example if you perform the following commands: drush dl views drush en views views_ui views_export You will get the the following error when trying to enable the views modules: Module views ...
3
votes
5answers
5k views

Drush enable/disable Devel modules

I love admin-menu's Enable Developer Modules menu item. How can I toggle this from the command line? Admin menu already has a configuration of "developer" modules set up in settings.php. I can ...
2
votes
3answers
3k views

Clearing Boost cache with drush

I am testing the boost module out, it is a great performance enhancement for the site I am working on. However I would like to be able to get boost to clear it's cache using drush. Drush cc all ...
20
votes
5answers
10k views

Why would some features still show Overridden after a revert all --force?

Why would some features still show as "Overridden" even after running a full features revert with the force switch? Below are the commands I am running, for the sake of clarity. drush fr-all --force -...
34
votes
6answers
42k views

How to check Drush version?

How can I identify what version of Drush is installed on a given system?
5
votes
3answers
1k views

How can I setup Git/Drush dl/make caching of Drupal projects?

I'd like to setup the ability to have Drupal projects cached locally when I do a Git clone or Drush dl/make, so that if I happen to be offline or just to save bandwidth, when I Git clone/Drush dl/make ...
80
votes
5answers
36k views

How to take a site offline using Drush?

How can I take a site offline using Drush?
6
votes
2answers
208 views

What are the major differences between Drush versions 3 & 4?

What are some of the biggest differences between Drush versions 3.x & 4.x?
83
votes
10answers
54k views

How can I change a user's password?

How can I change a user's password from the command line using Drush?