[Qgis-user] Moving many project files - bulk updating paths to tables?

Fernando M. Roxo da Motta petro at roxo.org
Wed Apr 10 17:01:03 PDT 2024


On Wed, 10 Apr 2024 17:38:58 +0200, Antonio Viscomi via QGIS-User
<qgis-user at lists.osgeo.org> wrote:


> That's no matter for 'sed' command if the extension is .qgz or qgs

  The extension itself surely not, but the contens matters.

  The '.qgs' file is a plain text XML file, that sed(1) has no problem
to work on.

  The '.qgz' file is a ZIP archive that may contain even more than a
single text file.  The '.qgs' file being one of them.   The sed(1)
command doesn't know how to deal with this kind of archive:

$ unzip -l Training_Empty.qgz
Archive:  Training_Empty.qgz
  Length      Date    Time    Name
---------  ---------- -----   ----
    10858  2020-05-28 19:57   Training_Empty.qgs
        0  2020-05-28 19:57   Training_Empty.qgd
---------                     -------
    10858                     2 files


  HTH


> 
> Saluti
> 
> Antonio




  Roxo

-- 
---------------- Non luctari, ludare -------------------+ WYSIWYG
Fernando M. Roxo da Motta <petro at roxo.org>              | Editor?
Except where explicitly stated I speak on my own behalf.|  VI !!
                PU5RXO | PX5Q6048                       | I see text,
------------ Quis custodiet ipsos custodes?-------------+ I get text!
 


More information about the QGIS-User mailing list