<div dir="ltr"><div dir="ltr">That's no matter for 'sed' command if the extension is .qgz or qgs <br clear="all"><div><div dir="ltr" class="gmail_signature"><div dir="ltr"><div><div dir="ltr"><br></div><div>Saluti</div><div dir="ltr"><br></div><div dir="ltr">Antonio</div></div></div></div></div><br></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">Il giorno ven 5 apr 2024 alle ore 16:00 David Strip <<a href="mailto:qgis-user@stripfamily.net">qgis-user@stripfamily.net</a>> ha scritto:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><u></u>
<div>
<div>On 4/5/2024 2:15 AM, Antonio Viscomi
via QGIS-User wrote:<br>
</div>
<blockquote type="cite">
<div>if you're using linux what you need is simply use the 'sed'
command by terminal as i.e.:</div>
<div><br>
</div>
<div><i>sudo sed -i 's/NEWPATHTOSUBSTITUTE(your path or IP or
domain)/OLDPATH/g' *.qgs</i></div>
</blockquote>
<br>
The original request noted that the files were .qgz files, not .qgs,
so you need to first unzip, the rezip the files.<br>
And this single line solution assumes all files are in a single
directory, so you need something "find" to walk the directory
structure.<br>
</div>
</blockquote></div></div>