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

Antonio Viscomi antoviscomi at gmail.com
Fri Apr 5 07:01:45 PDT 2024


👍

Antonio ha reagito tramite Gmail
<https://www.google.com/gmail/about/?utm_source=gmail-in-product&utm_medium=et&utm_campaign=emojireactionemail#app>

Il ven 5 apr 2024, 16:00 David Strip <qgis-user at stripfamily.net> 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.
>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: text/vnd.google.email-reaction+json
Size: 37 bytes
Desc: not available
URL: <http://lists.osgeo.org/pipermail/qgis-user/attachments/20240405/29708c96/attachment.bin>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/qgis-user/attachments/20240405/29708c96/attachment.htm>


More information about the QGIS-User mailing list