<!DOCTYPE html>
<html>
  <head>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
  </head>
  <body>
    <div class="moz-cite-prefix">On 4/5/2024 2:15 AM, Antonio Viscomi
      via QGIS-User wrote:<br>
    </div>
    <blockquote type="cite"
cite="mid:CANzBnhv0QJ4Y_7hxNcSd8=+9id1miy=WXuzPguuUnnnx-h+NxQ@mail.gmail.com">
      <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>
  </body>
</html>