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

90 questions
402
votes
9 answers

How can I uncompress a *.7z file?

How can I uncompress a *.7z file in Ubuntu and keep the directory structure?
michael
  • 6,059
5
votes
2 answers

How to run a single thread 7z benchmarking using the command line?

I can run "7z -b" for multi threading benchmark and compare results between platforms such as Windows and Linux. But how to compare single thread 7z benchmark on Ubuntu? :) I found no documentation in 7z -h and…
chrone
  • 415
  • 1
  • 5
  • 18
4
votes
1 answer

How to update 7-Zip on Ubuntu

The version of my 7-Zip on my Ubuntu is 16.02. However, this is not the newest version by far. Calling sudo apt-get update or sudo apt-get upgrade doesn't help. Is it just that the 7-Zip package is not maintained, or can I have up-to-date 7-Zip on…
daralim
  • 63
3
votes
1 answer

7z zip several different folders

I have following line to zip/backup my home folder sudo 7z a -p /backups/`date "+%Y%m%d"`.backup.7z ~ Please advise how would I add another folder in the same line to be backed up? Currently it is backing up my home folder ~ I would like to add…
1
vote
2 answers

7zip is nowhere to be found

I just installed 7zip from the Ubuntu Software Centre, but when I look for it in my applications, I can't find it. Even when I type "7z" in the terminal, it is telling me that 7zip is installed. How can I find the application and open it up? Thank…
user529161
1
vote
2 answers

How to make 7zip behave like bzip (to zip a file and delete the original)?

I like to use bzip to zip up files because it deletes the original and leaves the new file. How can I use 7zip to zip up a file and delete the original after it is done zipping?
1
vote
0 answers

7z: the number of files in "Scanning the drive" is way larger than the number of "Files read from disk"

I'm using Ubuntu 20.04. So I wanted to back up a folder (minecraft world), installed p7zip (p7zip-full and p7zip-rar) and tried running it. There was no errors, but I notice something strange. Basically the number of files in "Scanning the drive" is…
1
vote
1 answer

7z cli: Extract multiple files with same password

My filelist in work dir: '[CASO] SHIROBAKO [01][Ma10p_1080p][x265_2flac].rar' '[CASO] SHIROBAKO [02][Ma10p_1080p][x265_2flac].rar' '[CASO] SHIROBAKO [03][Ma10p_1080p][x265_2flac].rar' '[CASO] SHIROBAKO [04][Ma10p_1080p][x265_2flac].rar' '[CASO]…
curlywei
  • 155
1
vote
1 answer

Can't install latest p7zipfull

Can't find the latest installer for 7zip. Terminal installs one thats 6+ years old. Latest version is 16.02, terminal install 9.2. Does anybody have a link to the latest compatible ubuntu installer
0
votes
1 answer

Compress all the files inside a folder with 7zip

As the title, suppose I have a set of files in a folder. Is it possible to compress every of them in separate files? Something like 7z *
tigerjack
  • 2,575
  • 7
  • 25
  • 38
0
votes
1 answer

How to disable automatic file extension and force writing to existing file with 7z?

This is basically what I'm trying to do: TEMP_ZIP_NAME="$(tempfile)" ZIP_NAME="${NOW}-views.tar.7z" tar c -C /srv/partybus.com views public_html/css 2>> "${CRONLOG}" \ | 7z a -si "${TEMP_ZIP_NAME}" 2>> "${CRONLOG}" But there's 2 problems: 7z…
mpen
  • 2,186