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

Saluti

Antonio


Il giorno ven 5 apr 2024 alle ore 16:00 David Strip <
[email protected]> ha scritto:

> On 4/5/2024 2:15 AM, Antonio Viscomi via QGIS-User wrote:
>
> if you're using linux what you need is simply use the 'sed' command by
> terminal as i.e.:
>
> *sudo sed -i 's/NEWPATHTOSUBSTITUTE(your path or IP or domain)/OLDPATH/g'
> *.qgs*
>
>
> The original request noted that the files were .qgz files, not .qgs, so
> you need to first unzip, the rezip the files.
> And this single line solution assumes all files are in a single directory,
> so you need something "find" to walk the directory structure.
>
_______________________________________________
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

Reply via email to