Is it possible to update filefield link(remapping) instead of uploading the file.
for example
If existing file is say screenshot-1.jpg then ,
token can be set in place of replacement link field say [node:field-image:url]-[site-name]
would change the filefield value so that it will remapped to screenshot-1-drupal.org.jpg
and yes special care should be taken for retaining file extension ie replacement should be done to filename without extension.

In actual filesystem bulk rename of files will be done thorough terminal command as it is faster.

This feature can extentedn to alttext too e.x.
original alt text - This is a private image
token [node:field-image:url]-(approved by - [site:current-user])
remapped into file This is a private image(approved by-Jonny).

This feature will also be useful when migrating from wamp to lamp where system is case sensitive.

Comments

nithinkolekar’s picture

Title:Updating filefield link(remapping), description, alt text» Bulk updating filefield link(remapping), description, alt text
Issue tags:+bulk update, +bulk remapping

small title change for google ;-)

bojanz’s picture

Category:Feature request» Support request
Issue summary:View changes
Status:Active» Fixed

You can use a rule to accomplish this token workflow (VBO can execute Rules components).
Alternatively you can always write a custom action, or use the "Execute custom PHP code" action to enter PHP code that will do the update.

Status:Fixed» Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.