Saturday, May 4, 2024
 Popular · Latest · Hot · Upcoming
24
rated 0 times [  24] [ 0]  / answers: 1 / hits: 28421  / 2 Years ago, sat, june 18, 2022, 2:04:02

I have a rather large file (~50GB) and it takes some time to run



tar xvf file.tar.bz2



on it. I'm aware of programs that can do parallel compression for bzip2 files but unaware of programs that can do parallel decompression for bzip2 files.



Are there any programs that can achieve this? What is the exact syntax of the command to use to extract from the file?



I'm using ubuntu 12.04


More From » tar

 Answers
1

lbzip2 and pbzip2 are the tools which you can use for parallel compression and decompression.



Usage:



lbzip2 -d <file.tar.bz2> 
pbzip2 -d <file.tar.bz2>


-d option is used for decompression.



To install these packages:



lbzip2 Install lbzip2type:



sudo apt-get install lbzip2


pbzip2 Install pbzip2type:



sudo apt-get install pbzip2

[#34395] Saturday, June 18, 2022, 2 Years  [reply] [flag answer]
Only authorized users can answer the question. Please sign in first, or register a free account.
zzlingots

Total Points: 414
Total Questions: 130
Total Answers: 117

Location: Sudan
Member since Tue, Sep 15, 2020
4 Years ago
;