Sample Header Ad - 728x90

Extracting multiple archives in one command with 7z yields "No files to process"

2 votes
2 answers
45 views
Extracting multiple files with 7z effectively fails. Individually the archives extract without errors. I don't do this very often but my memory and searches indicate that 7z x *.rar -o* *should* work. Same behavior with version 25.01 and the e command.
~/
❯ 7z x *.rar

7-Zip 24.09 (x64) : Copyright (c) 1999-2024 Igor Pavlov : 2024-11-29
 64-bit locale=en_US.UTF-8 Threads:20 OPEN_MAX:1024, ASM

Scanning the drive for archives:
1 file, 306847330 bytes (293 MiB)

Extracting archive: a.rar
--
Path = a.rar
Type = Rar5
Physical Size = 306847330
Characteristics = Locator QuickOpen:306845854
Encrypted = -
Solid = -
Blocks = 16
Method = v6:128K:m0
Multivolume = -
Volumes = 1


No files to process
Everything is Ok

Files: 0
Size:       0
Compressed: 306847330

~/
❯ ls
a.rar  b.rar  c.rar

~/
❯ 7z x a.rar -o*

7-Zip 24.09 (x64) : Copyright (c) 1999-2024 Igor Pavlov : 2024-11-29
 64-bit locale=en_US.UTF-8 Threads:20 OPEN_MAX:1024, ASM

Scanning the drive for archives:
1 file, 306847330 bytes (293 MiB)

Extracting archive: a.rar
--
Path = a.rar
Type = Rar5
Physical Size = 306847330
Characteristics = Locator QuickOpen:306845854
Encrypted = -
Solid = -
Blocks = 16
Method = v6:128K:m0
Multivolume = -
Volumes = 1

Everything is Ok                                

Files: 16
Size:       306844571
Compressed: 306847330

~/
❯ ls
a  a.rar  b.rar  c.rar
Asked by redmaw (123 rep)
Aug 11, 2025, 04:00 AM
Last activity: Aug 11, 2025, 06:41 AM