I have migrated almost fully to using portable apps for most of my software, and I use it in my PC.
I wanted to write a backup script to generate automated periodic backup of the data. Is there any way to use the portable apps platform's backup from the commandline?
I will also be happy with a 7zip script, and I almost got one -
7z.exe a -ms=off -mtc=on -up0q0z1 -r PortableAppsData "D:\Programs\PortableApps\*\*\Data"
Problem is that it also backs up any other data folder that might be present with an application (eg. with Inkscape).
A workaround is to exclude the nested data folders -
7z.exe a -ms=off -mtc=on -up0q0z1 -r PortableAppsData "D:\Programs\PortableApps\*\*\Data" -x!"D:\Programs\PortableApps\*\*\*\Data"
But in this case, it also excludes data folder inside the Data folder (eg. with Stellarium).
I've been tearing my hair on this the whole morning, any solution will be appreciated!