<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40"><head><meta http-equiv=Content-Type content="text/html; charset=utf-8"><meta name=Generator content="Microsoft Word 15 (filtered medium)"><!--[if !mso]><style>v\:* {behavior:url(#default#VML);}
o\:* {behavior:url(#default#VML);}
w\:* {behavior:url(#default#VML);}
.shape {behavior:url(#default#VML);}
</style><![endif]--><style><!--
/* Font Definitions */
@font-face
        {font-family:"Cambria Math";
        panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
        {font-family:Calibri;
        panose-1:2 15 5 2 2 2 4 3 2 4;}
@font-face
        {font-family:Aptos;}
@font-face
        {font-family:Consolas;
        panose-1:2 11 6 9 2 2 4 3 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0cm;
        font-size:11.0pt;
        font-family:"Aptos",sans-serif;
        mso-fareast-language:EN-US;}
a:link, span.MsoHyperlink
        {mso-style-priority:99;
        color:blue;
        text-decoration:underline;}
pre
        {mso-style-priority:99;
        mso-style-link:"HTML Preformatted Char";
        margin:0cm;
        font-size:10.0pt;
        font-family:"Courier New";
        mso-fareast-language:EN-NZ;}
span.HTMLPreformattedChar
        {mso-style-name:"HTML Preformatted Char";
        mso-style-priority:99;
        mso-style-link:"HTML Preformatted";
        font-family:"Consolas",serif;
        mso-fareast-language:EN-US;}
span.EmailStyle22
        {mso-style-type:personal-reply;
        font-family:"Aptos",sans-serif;
        color:windowtext;}
.MsoChpDefault
        {mso-style-type:export-only;
        font-size:10.0pt;
        mso-ligatures:none;}
@page WordSection1
        {size:612.0pt 792.0pt;
        margin:72.0pt 72.0pt 72.0pt 72.0pt;}
div.WordSection1
        {page:WordSection1;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]--></head><body lang=EN-NZ link=blue vlink=purple style='word-wrap:break-word'><div class=WordSection1><p class=MsoNormal>Thanks Jorge<o:p></o:p></p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal>Yes, I toyed with that, but somewhat painful with thousands to process.<o:p></o:p></p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal>Has anybody scripted or coded something for this?<o:p></o:p></p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal>Cheers<o:p></o:p></p><p class=MsoNormal><o:p> </o:p></p><div><div style='border:none;border-top:solid #E1E1E1 1.0pt;padding:3.0pt 0cm 0cm 0cm'><p class=MsoNormal><b><span lang=EN-US style='font-family:"Calibri",sans-serif;mso-fareast-language:EN-NZ'>From:</span></b><span lang=EN-US style='font-family:"Calibri",sans-serif;mso-fareast-language:EN-NZ'> 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?<o:p></o:p></span></p></div></div><p class=MsoNormal><o:p> </o:p></p><p>Hi Tony,<span style='font-size:12.0pt;mso-fareast-language:EN-NZ'><o:p></o:p></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.<o:p></o:p></p><p>I hope it helps,<o:p></o:p></p><p>Jorge<o:p></o:p></p><div><p class=MsoNormal>On 04/04/24 19:28, Tony Shepherd (FarmMaps NZ) via QGIS-User wrote:<o:p></o:p></p></div><blockquote style='margin-top:5.0pt;margin-bottom:5.0pt'><p class=MsoNormal>Hi All<o:p></o:p></p><p class=MsoNormal> <o:p></o:p></p><p class=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.<o:p></o:p></p><p class=MsoNormal> <o:p></o:p></p><p class=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.<o:p></o:p></p><p class=MsoNormal> <o:p></o:p></p><p class=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.<o:p></o:p></p><p class=MsoNormal> <o:p></o:p></p><p class=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? <o:p></o:p></p><p class=MsoNormal> <o:p></o:p></p><p class=MsoNormal>Any other approaches?<o:p></o:p></p><p class=MsoNormal> <o:p></o:p></p><p class=MsoNormal><span style='mso-fareast-language:EN-NZ'>Cheers</span><o:p></o:p></p><p class=MsoNormal><span style='mso-fareast-language:EN-NZ'>Tony</span><o:p></o:p></p><p class=MsoNormal><span style='mso-fareast-language:EN-NZ'> </span><o:p></o:p></p><p class=MsoNormal><span style='mso-fareast-language:EN-NZ'>------------------------------------------------------------------------------------------------------------------</span><o:p></o:p></p><p class=MsoNormal><b><span style='color:#404040;mso-fareast-language:EN-NZ'>Tony Shepherd</span></b><o:p></o:p></p><p class=MsoNormal><i><span style='color:#595959;mso-fareast-language:EN-NZ'>  GeoSpatial Manager @ FarmMaps NZ & Photographer @ Shepherd Photos</span></i><o:p></o:p></p><p class=MsoNormal><span style='color:#595959;mso-fareast-language:EN-NZ'> </span><o:p></o:p></p><p class=MsoNormal><b><i><span style='color:#595959;mso-fareast-language:EN-NZ'>Phone</span></i></b><span style='color:#595959;mso-fareast-language:EN-NZ'> <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><o:p></o:p></p><p class=MsoNormal><b><i><span style='color:#595959;mso-fareast-language:EN-NZ'>Email</span></i></b><b><span style='color:#595959;mso-fareast-language:EN-NZ'> – Maps</span></b><span style='color:#595959;mso-fareast-language:EN-NZ'> <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><o:p></o:p></p><p class=MsoNormal><b><i><span style='color:#595959;mso-fareast-language:EN-NZ'>Facebook</span></i></b><span style='color:#595959;mso-fareast-language:EN-NZ'> <a href="https://www.facebook.com/TonyShepherdPhotos"><span style='color:#0563C1'>TonyShepherdPhotos</span></a></span><o:p></o:p></p><p class=MsoNormal><span style='color:#595959;mso-fareast-language:EN-NZ'> </span><o:p></o:p></p><p class=MsoNormal><span style='color:#595959;mso-fareast-language:EN-NZ'> </span><o:p></o:p></p><p class=MsoNormal><span style='color:#595959;mso-fareast-language:EN-NZ'><img border=0 width=160 height=75 style='width:1.6666in;height:.7812in' id="Picture_x0020_1" src="cid:image001.jpg@01DA8730.353AB1F0" alt="FM_logo1_small (Custom)"></span><o:p></o:p></p><p class=MsoNormal> <o:p></o:p></p><p class=MsoNormal><span style='font-size:12.0pt;mso-fareast-language:EN-NZ'><br><br><o:p></o:p></span></p><pre>_______________________________________________<o:p></o:p></pre><pre>QGIS-User mailing list<o:p></o:p></pre><pre><a href="mailto:QGIS-User@lists.osgeo.org">QGIS-User@lists.osgeo.org</a><o:p></o:p></pre><pre>List info: <a href="https://lists.osgeo.org/mailman/listinfo/qgis-user">https://lists.osgeo.org/mailman/listinfo/qgis-user</a><o:p></o:p></pre><pre>Unsubscribe: <a href="https://lists.osgeo.org/mailman/listinfo/qgis-user">https://lists.osgeo.org/mailman/listinfo/qgis-user</a><o:p></o:p></pre></blockquote></div></body></html>