So I spent a bit more time completing the script, which now looks like this: import glob import os import shutil import xml.etree.ElementTree as ET tree = ET.parse(‘/home/patrick/Sources/CopyFiles/Source/layers.qlr’) root = tree.getroot() for layer in root.iter(‘layer-tree-layer’): sourcename = layer.get(‘name’) print(“Layer: ” + sourcename) sourcepath = “/home/patrick/Sources/CopyFiles/Source/” + sourcename + “.*” #print(fpath) …
So as I said at the end of the last post, I am learning to script in Python. Which is turning out to be breathtakingly simple and easy to do. I remember that I was going to do this script originally in Python then ended up doing it in Powershell. Why I did that at…
In my arsenal of computers I have one low spec one that still runs Windows. Even with all the stuff I have for Linux, there are still a handful of tasks that use Windows only software, although this has diminished to the point that this computer often doesn’t get turned on for weeks at a…
The serverpc is now being used to store additional mapping resources, specifically aerial photos as the amount of space these take up is significant and at times has filled up a lot of disk space on mainpc. I am working on a new layout of my keyboards so that I can use both computers at…