On Wed, 10 Apr 2024 17:38:58 +0200, Antonio Viscomi via QGIS-User
<[email protected]> 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 <[email protected]> | Editor?
Except where explicitly stated I speak on my own behalf.| VI !!
PU5RXO | PX5Q6048 | I see text,
------------ Quis custodiet ipsos custodes?-------------+ I get text!
_______________________________________________
QGIS-User mailing list
[email protected]
List info: https://lists.osgeo.org/mailman/listinfo/qgis-user
Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-user