Questions tagged [7zip]

For questions relating to the installation of or use of the 7zip program, provided by the `p7zip-full` package. 7zip is a file archiving application able to compress to and extract a variety of formats.

7zip is a file archiving application licensed under the GNU LGPL. It is used to archive or compress multiple files and directories into single files, and to uncompress and extract such archives. It is not installed by default in Ubuntu, but the package that provides it, p7zip-full, is available in repositories. Use this tag for questions about installing or using 7zip.

7zip can create and extract archives in these formats: 7z (default), XZ, BZIP2, GZIP, TAR, ZIP and WIM. It can extract many other formats including CPIO, ISO, RPM and SquashFS.

The utilities provided by 7zip can be accessed with the 7z command


7zip website

7z man page

89 questions
391
votes
7 answers

How can I uncompress a *.7z file?

How can I uncompress a *.7z file in Ubuntu and keep the directory structure?
michael
  • 5,879
  • 9
  • 26
  • 27
128
votes
3 answers

how to extract tar.7z files from command line?

Is there a way to extract files of tar.7z format using command line tools in Ubuntu?
pacodelumberg
  • 1,425
  • 2
  • 11
  • 7
88
votes
3 answers

How to install 7zip to extract rar files

How do I install 7zip through Terminal to extract rar files?
narottam
  • 899
  • 1
  • 6
  • 3
34
votes
3 answers

How to extract files from a split 7zip archive?

I downloaded a series of packages that all compress one thing. The files end in .0, .1, .2, etc. The User Lists of these packages I downloaded say to use the file.bat to successfully extract, or to use 7zip. I do not understand how to do that with…
Eugenio
  • 341
  • 1
  • 3
  • 3
32
votes
1 answer

7z command line with highest encryption: AES-256 + Encrypting the Filenames

I had a question. Im trying to backup and encrypt files, but using the more recent aes256 or aes512 encryption. 1) I heard 7z defaults to aes128, I want to use the best one (aes256... i think?), how do i do it? Here is my command: cd…
25
votes
5 answers

How do I create tar.7z file from the command line?

I would like to zip up my homework from last year. How do I tar and zip the whole folder from command line Ubuntu (I don't have GUI).
alphanumerical74
  • 253
  • 1
  • 3
  • 5
19
votes
1 answer

7z "ultra" settings for zip format

7z "ultra" settings for .7z format are: 7z a -t7z -m0=lzma -mx=9 -mfb=64 -md=32m -ms=on What are the "ultra" settings for .zip format (using 7z)?
ᴜsᴇʀ
  • 514
  • 3
  • 6
  • 15
16
votes
3 answers

7zip destination folder -o

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…
Pixeli
  • 161
  • 1
  • 1
  • 3
16
votes
1 answer

How to set 7z compression level using GUI in Ubuntu?

Archive Manager, or file-roller, doesn't seem to have the option to set the compression level for 7z files. However, the windows client 7-zip has an option to do so using GUI - On Ubuntu/Linux, one can set the compression level in the command…
Rohith Madhavan
  • 8,229
  • 5
  • 24
  • 43
16
votes
5 answers

What is a Linux equivalent to pkzip or winzip or the GUI version of 7zip?

GUI-based applications like PKZIP and winzip (and the GUI version of 7z/7zip) let us browse around our directories and create a compressed file that contains lots of different directories and files, complete with [partial or full] paths. What is the…
honestann
  • 843
  • 4
  • 14
  • 23
14
votes
6 answers

What is the difference between different "compression" systems?

I've always used TAR and ZIP for compression, but recently I have heard about the *.Z compression algorithm. This brought up a question for me: With all of these compression systems, which one is best for general use and compression? Running a few…
Kaz Wolfe
  • 33,802
  • 20
  • 111
  • 168
12
votes
4 answers

Failing to unrar files

I'm sorry to ask this, but all of the questions along similar lines I could find have been answered by installing unrar/7zip. So, I received a book in the form of a .rar archive of jpegs. Initially, I tried to uncompress with 7zip from terminal. …
Shopin
  • 121
  • 1
  • 1
  • 3
11
votes
2 answers

Is it possible to convert 7z to tar directly?

I have a .7z file containing ~360,000 images in multiple directories. I'd like to convert it to a .tar so that I can open it in another computer. Is there a better way than extracting it to files and compressing them again? Is it possible to do the…
Mohammad Moghimi
  • 2,101
  • 5
  • 24
  • 33
11
votes
1 answer

Does 7zip work with archive manager?

Yesterday I installed 7zip on Ubuntu 12.04 LTS and I was able to extract a .rar file by using the Archive Manager. Right click -> Extract Here Today I decided to reinstall Ubuntu 12.04 LTS. Then I installed 7zip from the Ubuntu Software Center and I…
kalpetros
  • 591
  • 1
  • 6
  • 19
10
votes
4 answers

7zip: How to exclude file types?

I want to exclude the following file types: epub pdf html (upper case too) azw3 mobi opf txt I have this so far which doesn't seem to work, i get an error saying "Incorrect Command Line". 7z e "-x!*.epub" "-x!*.pdf" "-x!*.html" "-x!*.azw3"…
olfek
  • 1,245
  • 5
  • 13
  • 21
1
2 3 4 5 6