Skip to content

Instantly share code, notes, and snippets.

@keopx
Forked from juampynr/move.sh
Last active August 29, 2015 14:06
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save keopx/e3e05fab3969005610fe to your computer and use it in GitHub Desktop.
Save keopx/e3e05fab3969005610fe to your computer and use it in GitHub Desktop.
cd sites/example
drush -v sqlq 'UPDATE system SET filename = REPLACE(filename, "example", "example2")'
mv sites/example sites/example2
drush rr -v # This is Registry Rebuild Drush command
# Then, browse your code and search for URLs containing sites/example.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment