[Qgis-user] Moving many project files - bulk updating paths to tables?
Antonio Viscomi
antoviscomi at gmail.com
Wed Apr 10 08:38:58 PDT 2024
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 <
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 --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/qgis-user/attachments/20240410/aeb54ece/attachment.htm>
More information about the QGIS-User
mailing list