I reorganized my shapefiles folders. Now the layer file paths are broken. I have tried the solutions shown in the QGIS User guide (chapter 6.2), but:
- I don't want to process my layers individually since there are far too many of them.
- The "Auto-Find" in the "Handle Unavailable Layers" dialogue, also the scan in the "Repair Data Source" tool ("QGIS scans through all other broken paths and tries to auto-fix those that have the same broken file path") don't work properly. It makes some mistakes, and then it's a total mess to fix it.
I have a list of the before/after paths, which I could use in a "replace layers file path" tool, which would be the simplest way. But it seems not to exist in QGIS, does it? Or is there another tool for that?
I have also seen that post, but my python skills don't allow me to generalise it to solve my problem. Do you know a code that allows me to batch-replace the path on all concerned layers? Like X to X', Y to Y', Z to Z' etc.