Skip to content

Instantly share code, notes, and snippets.

@toleillo
Created December 12, 2013 11:58
Show Gist options
  • Save toleillo/7926957 to your computer and use it in GitHub Desktop.
Save toleillo/7926957 to your computer and use it in GitHub Desktop.
Drupal 7 update all image URLs
UPDATE file_managed SET uri = replace(uri, 'public://','new://');
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment