I had a button which archived a folder, along with its contents, as a dated backup archive. This worked for years, but then something changed within Opus, and it never worked again.
I am trying to do this again, but I am not having much luck for some reason.
This is my button:
@nofilenamequoting
Copy ARCHIVE=.zip CREATEFOLDER="{file|noext} BAK - {date|yyyy-MM-dd} {time|HH-mm}" HERE
While this does create an archive with the folder name, backup label, date, and time, only the contents of the folder are archived, not the parent (selected) folder and its children.
I'm not sure why this isn't working.
Your post got me to try some of my archive buttons and I found some were no longer working as I thought them to be.
Well, I did find a fix to your problem.
To be honest I haven't looked into this as much as I should be doing, but since I have it working I'll post a fix for you.
@nofilenamequoting
Copy Archive=.zip,keepfolder HERE CREATEFOLDER="{file|noext} BAK - {date|yyyy-MM-dd} {time|HH-mm}"
@lxp
I understood this to be Copy Createfolder but then zip the Createfolder.
Copy Createfolder would also put the top selected folder, TheFolder. in the Created Folder.
The zip version doesn't do this without adding keepfolder to Archive.
Hope I said that correctly, it's middle of the night here.
Modifies the behaviour when only a single folder is selected - instead of the items within the folder being added, the folder itself will be added to the archive.
But this sounded as if more items were missing in the archive:
I don't recall any recent changes in the way Opus handles archives, but I mostly use 7zip and WinRAR directly, so I might have missed something.