Create a new 7zip archive with two files

atool

atool --add {{path/to/archive.7z}} {{path/to/file1 path/to/file2 ...}}

click the source code to copy install atool on any operating system with command-not-found.com