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