drush, bash commands


/ Published in: Bash
Save to your folder(s)



Copy this code and paste it in your HTML
  1. # create a list of enabled modules
  2. drush sm --pipe --status=enabled
  3.  
  4. # create txt file which contains a list of enabled modules
  5. drush sm --pipe --status=enabled | cat > modules_enabled.txt
  6.  
  7.  
  8. # --- SVN ----
  9. # Remove all .svn folders in a directory tree
  10. find . -name ".svn" -type d -exec rm -rf {} \;

Report this snippet


Comments

RSS Icon Subscribe to comments

You need to login to post a comment.