In the command line, 7zip has the command 'a' to "Add files to archive". But I want to sync the files instead. This is one of the main options in the GUI, but the CLI has disregarded it for some reason.
How can I do this? Example appreciated.
Using some info I found online, I figured out that -uq0 is the switch you probably want. Here's an example of an update script I just tested out based on this:
I tested this out and it removed a file from the archive after I deleted the file.
Use the 'u' operator (update)
Slightly edited snippit from a backup job I run: