If you use Python it should be fairly simple to enumerate all layers, test to 
see if they're file based and then use pattern matching to alter the file paths


⁣Oisin
07570 977449

Get BlueMail for Android ​

On 4 Apr 2024, 19:28, at 19:28, "Tony Shepherd (FarmMaps NZ) via QGIS-User" 
<[email protected]> wrote:
>Hi All
>
>
>
>I am sure I am not the first to ponder how to deal with this.  I have
>loads,
>thousands likely, of project files in a series of folders and
>subfolders.  I
>need to move those files and folders to a new location to enable other
>staff
>to use the project files and their associated shp files, geo packages,
>rasters etc.
>
>
>
>Essentially, I am shifting my entire collection of GIS work to a shared
>location for others to start using, so moving from a sole operator to a
>shared environment.
>
>
>
>In my old MapInfo days, I would simply do a bulk search and replace
>over the
>workspace files (text-based so this is easy) and change the paths that
>need
>changing and all would be ok.
>
>
>
>As qgz files are not easily modified through a text editor, are there
>any
>tools out there to enable bulk changing of file paths in those files?
>
>
>
>Any other approaches?
>
>
>
>Cheers
>
>Tony
>
>
>
>----------------------------------------------------------------------------
>--------------------------------------
>
>Tony Shepherd
>
>  GeoSpatial Manager @ FarmMaps NZ & Photographer @ Shepherd Photos
>
>
>
>Phone - 027 435 6193  | Website -  <http://shepherdphotos.co.nz/>
>shepherdphotos.co.nz
>
>Email - Maps  <mailto:[email protected]> [email protected]  |  Email -
>Photos
><mailto:[email protected]> [email protected]
>
>Facebook  <https://www.facebook.com/TonyShepherdPhotos>
>TonyShepherdPhotos
>
>
>
>
>
>
>
>
>
>
>
>------------------------------------------------------------------------
>
>_______________________________________________
>QGIS-User mailing list
>[email protected]
>List info: https://lists.osgeo.org/mailman/listinfo/qgis-user
>Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-user
_______________________________________________
QGIS-User mailing list
[email protected]
List info: https://lists.osgeo.org/mailman/listinfo/qgis-user
Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-user

Reply via email to