Sunday, 11 October 2015

qgis - What's the purpose of .qgs~ files?


When i work on QGIS project (named "pro"), some file with this symbol appears in the workspace folder with the name "pro.qgs~":


enter image description here


I tried to open it- but with no success.



  1. How can i open it and what is the purpose of it?

  2. What to do, so this file will not create in the folder?



Answer




pro.qgs~ is a backup copy of pro.qgs. See: When saving a .qgs file in QGIS, another appears. Is this a backup?


If your project file gets corrupted for any reason, you can simply rename pro.qgs~ to pro.qgs and continue to work from there.


Like the original .qgs file, you can open it with a text editor.


Why would you want to prevent creation of a backup file?


No comments:

Post a Comment

arcpy - Changing output name when exporting data driven pages to JPG?

Is there a way to save the output JPG, changing the output file name to the page name, instead of page number? I mean changing the script fo...