how to zip two files using 7zip via command line option. i want zip both files versioninfo.ini and Summary.xml with name Local.zip
7za a -t7z Local.7z versioninfo.ini Summary.xml (not working)
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It only takes a minute to sign up.Sign up to join this community
To install 7z archiver as a command line utility, You need to install the p7zip-full package. To install, just press Ctrl+Alt+T on your keyboard to open Terminal. When it opens, run the command(s) below:
sudo apt-get install p7zip-full
After both p7zip and p7zip-full are installed, you will see the following three command line utilities installed in your Linux box :
7z uses plugins to handle archives. 7za is a stand-alone executable. 7za handles fewer archive formats than 7z, but does not need any others. 7zr is a stand-alone executable. 7zr handles fewer archive formats than 7z, but does not need any others. 7zr is a "light-version" of 7za that only handles 7z archives.