I’m working on a python script that will automatically update Calibre since it does not contain an autoupdater and updates weekly. My script downloads the portable zip file, and then should extract a specific subfolder of the zip file (I don’t need all the files).
What I have so far:
os.system("7z x install.zip -y -r -oc:\\\"Program Files (x86)\\\"Calibre2");
This works for everything except downloading the specific sub directory I need. Any suggestions?
As given in How to partially extract a folder from a 7z file using powershell:
should be ok for you