I have wondered a long time how to do this and read already many manuals but dont get this to work. I want to zip with 7zip a folder to specific destination. There is in manual a guide to use -o{folder} but how does it really work?
Example:
7z a -t7z serverx /home/example/folder -o/home/backups/folder1
How to use that -o? Destination folder exists.
-oleads to errorToo short switch: -o. – Frank N Nov 03 '18 at 10:42~appears not to be resolved for some reason, use-o/home/frank/someFolderrather than-o~/someFolder. (encountered on a perfectly normal Ubuntu 18.04 with 7-zip 16.02) – Frank N Nov 03 '18 at 10:44