Hello Schmidtke,
I will assume that you are using a large number of linked meshes with skins to explain why you think you should be able to somehow automatically assign a new path. If this assumption is wrong please provide more details.
The best automated way of duplicating an attachment for each skin, turning it into a linked mesh, and having the linked mesh use the correct path is to select the attachment and create a new skin placeholder from scratch, as it will prompt exactly the options you need to make this process fast:
Skins - Spine User Guide: Selected attachments
A second option is to duplicate an entire skin in case you need linked meshes of about everything:
Skins - Spine User Guide: Duplicating a skin
A third longer option that involves using regex if the first two do not apply:
- Duplicate the skin/Select all the attachments you need to change the path for
- Select find and replace
- Check First occurence so it doesn't insert everything twice for path and name
- Check Regular expression as this trick is possible thanks to it, (if you click on the question mark you can see more options and suggestions)
- set the Scope to Current Skin/or current selection if you don't have skins
- set the Field to Path (Field has to be Path, but you can also select both Path and Name)
- Types: Region and Mesh so the slots or any other part of your skeleton doesn't accidentally get changed.
- Find: (.*)
- write the new name of the folder in Replace, plus $1 (e.g. Skin2/$1 )
- click Replace
and you should see the new correct images.
I am unsure about what warmanw means above, but I think the first two options I listed above should do what you need and they also work in 3.8.99