Linux - Is there a way to convert .bz2 files to .tar.bz2 files using pipes?
Fresh3 days ago
Mar 15, 20261875 viewsConfidence Score0%
0%
Problem
Is there a way to convert a .bz2 file to a .tar.bz2 file without decompressing the entire thing to disk and then re-compressing? The decompressed size is larger than my drive. Since bz2 operates on blocks, it would seem like you could just decompress a block, pipe it, re-compress it, remove the dec…
Unverified for your environment
Select your OS to check compatibility.
1 Fix
Canonical Fix
Unverified Fix
New Fix – Awaiting Verification
Fix for: Linux - Is there a way to convert .bz2 files to .tar.bz2 files using pipes?
Low Risk
Update: My original answer doesn't work at all, sorry. won't accept a data stream from STDIN as input, so the first command fails. The only way I can think of to accomplish what you want is to write your own program to add the required headers and s…
Awaiting Verification
Be the first to verify this fix
Sign in to verify this fix