<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=Windows-1252">
</head>
<body>
<div dir="auto">There is a project packager plugin that works pretty well. It may not be exactly what you need but maybe the author could be approached for tips on the process.</div>
<div><br>
</div>
<div id="ms-outlook-mobile-signature" dir="auto">Get <a href="https://aka.ms/AAb9ysg">
Outlook for Android</a></div>
<hr style="display:inline-block;width:98%" tabindex="-1">
<div id="divRplyFwdMsg" dir="ltr"><font face="Calibri, sans-serif" style="font-size:11pt" color="#000000"><b>From:</b> QGIS-User <qgis-user-bounces@lists.osgeo.org> on behalf of Tony Shepherd (FarmMaps NZ) via QGIS-User <qgis-user@lists.osgeo.org><br>
<b>Sent:</b> Friday, April 5, 2024 6:06:48 AM<br>
<b>To:</b> 'Jorge Gustavo Rocha' <jgr@geomaster.pt>; qgis-user@lists.osgeo.org <qgis-user@lists.osgeo.org><br>
<b>Subject:</b> Re: [Qgis-user] Moving many project files - bulk updating paths to tables?</font>
<div> </div>
</div>
<style>
<!--
@font-face
        {font-family:"Cambria Math"}
@font-face
        {font-family:Calibri}
@font-face
        {font-family:Aptos}
@font-face
        {font-family:Consolas}
p.x_MsoNormal, li.x_MsoNormal, div.x_MsoNormal
        {margin:0cm;
        font-size:11.0pt;
        font-family:"Aptos",sans-serif}
a:link, span.x_MsoHyperlink
        {color:blue;
        text-decoration:underline}
pre
        {margin:0cm;
        font-size:10.0pt;
        font-family:"Courier New"}
span.x_HTMLPreformattedChar
        {font-family:"Consolas",serif}
span.x_EmailStyle22
        {font-family:"Aptos",sans-serif;
        color:windowtext}
.x_MsoChpDefault
        {font-size:10.0pt}
@page WordSection1
        {margin:72.0pt 72.0pt 72.0pt 72.0pt}
div.x_WordSection1
        {}
-->
</style>
<div lang="EN-NZ" link="blue" vlink="purple" style="word-wrap:break-word">
<div class="x_WordSection1">
<p class="x_MsoNormal">Thanks Jorge</p>
<p class="x_MsoNormal"> </p>
<p class="x_MsoNormal">Yes, I toyed with that, but somewhat painful with thousands to process.</p>
<p class="x_MsoNormal"> </p>
<p class="x_MsoNormal">Has anybody scripted or coded something for this?</p>
<p class="x_MsoNormal"> </p>
<p class="x_MsoNormal">Cheers</p>
<p class="x_MsoNormal"> </p>
<div>
<div style="border:none; border-top:solid #E1E1E1 1.0pt; padding:3.0pt 0cm 0cm 0cm">
<p class="x_MsoNormal"><b><span lang="EN-US" style="font-family:"Calibri",sans-serif">From:</span></b><span lang="EN-US" style="font-family:"Calibri",sans-serif"> QGIS-User <qgis-user-bounces@lists.osgeo.org>
<b>On Behalf Of </b>Jorge Gustavo Rocha via QGIS-User<br>
<b>Sent:</b> Friday, April 5, 2024 7:53 AM<br>
<b>To:</b> qgis-user@lists.osgeo.org<br>
<b>Subject:</b> Re: [Qgis-user] Moving many project files - bulk updating paths to tables?</span></p>
</div>
</div>
<p class="x_MsoNormal"> </p>
<p>Hi Tony,<span style="font-size:12.0pt"></span></p>
<p>You can unzip the qgz file and change the text in the qgs files. qgs are text files. Afterwards, you can create the zip again with the qgz extension or open the qgs file directly.</p>
<p>I hope it helps,</p>
<p>Jorge</p>
<div>
<p class="x_MsoNormal">On 04/04/24 19:28, Tony Shepherd (FarmMaps NZ) via QGIS-User wrote:</p>
</div>
<blockquote style="margin-top:5.0pt; margin-bottom:5.0pt">
<p class="x_MsoNormal">Hi All</p>
<p class="x_MsoNormal"> </p>
<p class="x_MsoNormal">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.</p>
<p class="x_MsoNormal"> </p>
<p class="x_MsoNormal">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.</p>
<p class="x_MsoNormal"> </p>
<p class="x_MsoNormal">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.</p>
<p class="x_MsoNormal"> </p>
<p class="x_MsoNormal">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?
</p>
<p class="x_MsoNormal"> </p>
<p class="x_MsoNormal">Any other approaches?</p>
<p class="x_MsoNormal"> </p>
<p class="x_MsoNormal"><span style="">Cheers</span></p>
<p class="x_MsoNormal"><span style="">Tony</span></p>
<p class="x_MsoNormal"><span style=""> </span></p>
<p class="x_MsoNormal"><span style="">------------------------------------------------------------------------------------------------------------------</span></p>
<p class="x_MsoNormal"><b><span style="color:#404040">Tony Shepherd</span></b></p>
<p class="x_MsoNormal"><i><span style="color:#595959">  GeoSpatial Manager @ FarmMaps NZ & Photographer @ Shepherd Photos</span></i></p>
<p class="x_MsoNormal"><span style="color:#595959"> </span></p>
<p class="x_MsoNormal"><b><i><span style="color:#595959">Phone</span></i></b><span style="color:#595959">
<b>–</b> 027 435 6193  | <b><i>Website</i> – </b><a href="http://shepherdphotos.co.nz/"><span style="color:#0563C1">shepherdphotos.co.nz</span></a></span></p>
<p class="x_MsoNormal"><b><i><span style="color:#595959">Email</span></i></b><b><span style="color:#595959"> – Maps</span></b><span style="color:#595959">
<a href="mailto:tony@farmmaps.nz"><span style="color:#0563C1">tony@farmmaps.nz</span></a>  | 
<b><i>Email</i> – Photos</b>  <a href="mailto:tony@shepherdphotos.co.nz"><span style="color:#0563C1">tony@shepherdphotos.co.nz</span></a></span></p>
<p class="x_MsoNormal"><b><i><span style="color:#595959">Facebook</span></i></b><span style="color:#595959">
<a href="https://www.facebook.com/TonyShepherdPhotos"><span style="color:#0563C1">TonyShepherdPhotos</span></a></span></p>
<p class="x_MsoNormal"><span style="color:#595959"> </span></p>
<p class="x_MsoNormal"><span style="color:#595959"> </span></p>
<p class="x_MsoNormal"><span style="color:#595959"><img border="0" width="160" height="75" id="x_Picture_x0020_1" src="cid:image001.jpg@01DA8730.353AB1F0" alt="FM_logo1_small (Custom)" style="width:1.6666in; height:.7812in"></span></p>
<p class="x_MsoNormal"> </p>
<p class="x_MsoNormal"><span style="font-size:12.0pt"><br>
<br>
</span></p>
<pre>_______________________________________________</pre>
<pre>QGIS-User mailing list</pre>
<pre><a href="mailto:QGIS-User@lists.osgeo.org">QGIS-User@lists.osgeo.org</a></pre>
<pre>List info: <a href="https://lists.osgeo.org/mailman/listinfo/qgis-user">https://lists.osgeo.org/mailman/listinfo/qgis-user</a></pre>
<pre>Unsubscribe: <a href="https://lists.osgeo.org/mailman/listinfo/qgis-user">https://lists.osgeo.org/mailman/listinfo/qgis-user</a></pre>
</blockquote>
</div>
</div>
</body>
</html>