This drush plugin performs a text search & replace on all content and content revisions in all text fields and all custom blocks on a Drupal site.
It does this directly in the database, not by loading, editing and then saving entities, so it is very fast. This also means you should clear the Drupal caches after you run this command.
An example use case is to update all embedded file paths from sites/dev.example.com/files to sites/example.com/files:
drush sar sites/dev.example.com/files sites/example.com/files
The plugin prints statistics about the entities, nodes, fields and blocks it has processed.
Stable
Version 7.x-1.0 is stable and supports both Drupal 6 with CCK and Drupal 7 with FieldAPI.
Development
New features will be added to the 7.x-2.x branch only.
In browser
If you don't have shell access or drush, perhaps the https://drupal.org/project/scanner module can help you out instead.
Project information
- Module categories: Site Structure, Developer Tools
- 14 sites report using this module
- Created by cafuego on , updated
- Stable releases for this project are covered by the security advisory policy.
Look for the shield icon below.
Releases
Development version: 7.x-1.x-dev updated 16 Dec 2014 at 21:53 UTC