Updating file locations in QGIS projects?
I'm not sure what version of QGIS you are using, however in v>2.0.1 you may use the "Handle bad layers" dialog like this:
- Select all layers in common directory while holding Ctrl key
- Double click on last one you select
- Re-path one of the layers and select Open
- Repeat process for additional directories
This will batch update file based layers by directory (not database layers):
The QGIS project files are simple text files. You can search and replace the content with any text editor.
Just look up how the files are referenced in the old and new storage location, and you know what has to be changed.
Notepad++ allows even for batch processing across several files in one step.
If you save the project with relative path links before you move your data you shouldn't need to fix any links in the new projects.
In QGIS v2.01 Go to Project > Project Properties and select Save Paths Relative before you move your data across, then as long as you are just copying the data across and retain the same folder structure the files should work when you reopen the projects from your network drive.