Questions tagged [p7zip]
20 questions
19
votes
2 answers
7zip, xz, gzip, tar, etc -- what are the differences?
what factors should be considered when choosing among 7zip, xz, gzip, tar, etc. for compressing and archiving files?
Jio
- 327
- 1
- 2
- 3
11
votes
1 answer
How to use p7zip to open RAR files?
This is a more specific question of How to open rar file in linux (asked in 2015) that had no detailed answer for p7zip to open RAR files at this time of writing.
p7zip is essentially the 7-zip archive manager on Linux, except that does not include…
user125388
10
votes
3 answers
Extracting a specific file from an archive using 7-Zip
I run Linux Live CD and I need to extract a specific file from a wim-archive that is located on a disk drive. I know a full path to the file in the archive:
xubuntu@xubuntu:~$ 7z l winRE.wim | grep -i bootrec.exe
2009-08-28 15:02:29 ....A …
Alexander Pozdneev
- 881
- 1
- 8
- 20
7
votes
2 answers
How can I repack zip to 7zip?
How can I safely and quickly repack a zip archive to a 7zip archive?
I checked options of 7zip program but I don't see any option to repack. I know I can extract to directory and then pack this directory but is it safe? What if ZIP has paths like…
Tom
- 227
- 3
- 8
2
votes
2 answers
7-zip extraction using multiple cores?
I have stuff.7z.001 to stuff.7z.007. They are big.
Is there a way to 7z x in Linux to take advantage of multiple cores and speed things up?
also, how does one run the 7-zip gui in rhel/centos 7 ? I have p7zip-gui-16.02-20.el7.x86_64 installed but…
ron
- 5,749
- 7
- 48
- 84
2
votes
2 answers
Extract file names from a 7-zip archive one-by-one and use the name as a parameter to a java program in a terminal
I am trying to write a bash script that will first extract files one-by-one from an archive and call a java program with the file name as a parameter to do something. I have tried with the following script, but it does not work.
I am facing the…
Md Asaduzzaman
- 21
- 1
2
votes
1 answer
How to obtain only fully decompressed files in destination folder when decompressing zipped file?
I'm trying to decompress a big zip file containing more that a hundred files, 128 MB each. When the decompression is interrupted, I have to delete the last file that was being decompressed, and restart all over with the option to skip existing files…
rraallvv
- 123
- 3
2
votes
0 answers
Create a 7z archive without compression using Ark
I'm using KDE on Debian Stretch, and Ark is installed by default (version 16.08.3). I find it really convenient and easy to use. However, I cannot find a way to create a 7-zip archive without compression. To be clear, what would be the equivalent of…
mars
- 23
- 6
2
votes
0 answers
Compress and delete at the same time
I'm using the command p7zip to compress files. There is not enough space on the disk even to store the compressed file. I'm compressing a directory where there are thousands of file, is there any way of compressing and deleting files at the same…
Noor
- 969
- 4
- 13
- 19
1
vote
1 answer
Validate password for a large set of zip files
I am working on an ETL process for a customer. Another vendor has provided the raw data as a set of approximately 100 password protected ZIP files.
I want to validate that the password given is correct for this set of files.
The script I am…
Freiheit
- 9,579
- 2
- 17
- 17
1
vote
1 answer
how can I ask p7zip via CLI to batch zip directories into their respective compressed archives
I've read several questions on this forum on how to do this but cannot find a way to do this via p7zip. I want to basically have p7zip go through a a directory and turn each top level directory in that directory into a zip or 7zip file. So for…
user57081
- 21
- 2
0
votes
1 answer
7zip archive multiple files with their respective names
I have lots of files that I want to archive/compress using 7zip utility. They all reside in the same folder.
Each archive must have the same name as the file that is to be archived.
For example, if the files are 1.txt, 2.txt, 3.txt then the archives…
heikrana
- 131
- 6
0
votes
2 answers
7z An Existing Tar File
I am on ubuntu 20.04 and I have a 71GB.tar file that I would like to 7zip before moving it to long-term storage.
I can create a new directory.tar.7z using:
#tar cf - directory | 7z a -si directory.tar.7z
However, I cannot
#7z a -si…
Time-Bandit
- 202
- 2
- 10
0
votes
0 answers
Write 7z Log During Archive Creation
Situation:
I get daily backups of my vps onto an external hard disk and I create daily "snapshots" using rsyncd into folders named via the date function.
Then I use 7z immediately following the rsync snapshot to create a multi-part archive that I…
Time-Bandit
- 202
- 2
- 10
0
votes
1 answer
Difference between two tar commands -cf and -Jchf
I have a python script that is running in two places, two different, but similar commands:
os.system("tar cf - -C %s . 2>/dev/null 3>/dev/null | 7za a -p%s -si %s 1>/dev/null 2>/dev/null 3>/dev/null" % (cf, self.config.get(jn, "archpass"),…
Pikk
- 187
- 1
- 6