Use bzip2 for questions about the files compressed with bzip2.

learn more… | top users | synonyms

0
votes
0answers
22 views

Untar bz2 to Microsd fails

I am trying to uncompress tar.bz2 file to ext3 formatted MicroSD card and after copying some files to card I see below errors and tar fails with below errors tar: ...
0
votes
1answer
37 views

Extracting .bz2 file on Windows creates a single file with no extension, how do i open it?

I have no idea what kind of file this is, if i open it in Notepad ++ first few strings look like this: Layer 0 0 true false false true false wmNone 0 0
1
vote
0answers
33 views

wget only new or updated files when the source files are compressed but the destination files are uncompressed

I would like to know how to wget files from a url which are stored with bz2 compression. However, I would like to only wget the new and updated files, relative to my destination, where the files are ...
0
votes
1answer
67 views

Unzipping a .btbz2 file on Linux

I just started working on Linux and got my first challenge I have this file under some directory and I guess it is a zip file I need to unzip can any one please tell how to unzip this .btbz2 file
0
votes
1answer
61 views

Is there a way to extract a bzip2-archive's content into another directory without creating temporary files?

I'm working with Wikipedia XML dumps and am looking for a way to extract them directly onto my ramdisk. They are simply a single xml file compressed with bzip2. I tried bzip2 -dk archive.bz2 ...
0
votes
1answer
224 views

Uncompress bz2 file from command line on Windows

Is there any tool in the Windows command line that allows me to do this? Otherwise, is there any light and portable application that will allow me to? Related question, can I rename .bz2 extension to ...
3
votes
3answers
11k views

Extracting a *.tar.bz2 file?

I always used to use this command to extract files from a bzip2 tar ball: tar xjvf file.tar.bz2 But right now on Ubuntu 14.04, I get this error: tar: Conflicting compression options Try 'tar ...
1
vote
2answers
242 views

extract archived .bz2 files inside a .tar archive with a single command

i need to decompress .bz2 files inside a .tar archive (two step decompression) For example: requested_files_1.tar has multiple .bz2 files inside. How can I extract them with a single ...
1
vote
2answers
381 views

bzgrep -H pattern file.bz2 gives no filename, but “standard input”

I thought -H always should print filename before matched line. this is true for grep, but not for bzgrep: $ grep -H pattern file1 file1: data pattern data $ bzgrep -H pattern file2.bz2 (standard ...
2
votes
1answer
846 views

How to convert a file of format tar.gz to tar.bz2?

Like the title says, how do I do this conversion from the Linux console?
4
votes
1answer
4k views

tar/bz2 compress a file removing uncompressed original

Is there any way to turn a directory called dir1 into dir1.tar.bz2 without keeping the original? I need to save space and want to compress some large files but don't have enough room to keep a ...
10
votes
3answers
7k views

Between xz, gzip, and bzip2, which compression algorithim is the most efficient?

Between xz, gzip, and bzip2, which compression algorithm gives the smallest file size and fastest speed when compressing fairly large tarballs?
0
votes
2answers
774 views

bzip2 randomly launches on OS X 10.6.8

Is there an application for OS X that will let me view what parent process is launching bzip2? It randomly opens up and eats a massive amount of CPU so it sorta lags the computer. I'm not sure what's ...
166
votes
7answers
354k views

How to decompress a .bz2 file

I have a file as: filename.bz2 I need to decompress. I have tried the command: tar xvjf filename.tar.bz2, but it didn't work as the file is not a tar file. How do I decompress this file?
2
votes
1answer
2k views

General Compressibility Of Various File Formats [closed]

Has anyone come across list of which file formats generally compress well (in general algorithms)? Generally, text files .txt compress well, and media-files (.mp3, .avi, etc) do not compress well. ...
4
votes
0answers
194 views

What is the etymology behind “-j” indicating bzip2 for tar? [closed]

What is the etymology behind "-j" indicating bzip2 for tar?
2
votes
2answers
221 views

Modern command line file compression utilities

I am frequently moving large files around from server to server. UNIXes comes with standard gzip and bzip2 compressors. However, what open options there exist beyond these, especially ones utilizing ...
8
votes
6answers
6k views

Which archiving method is better for compressing text files on Linux?

In my application I need do compress of logs that are text files. Seems that bzip2 and gzip have the same compression ratio. Is that correct?
8
votes
3answers
9k views

How do I convert tar.bz2 to tar.gz?

I'm new in Linux, is this conversion possible? Do I need to compress and decompress all content?
24
votes
4answers
16k views

TAR vs CPIO, what is the difference?

I am curious and did a bit of reading but still have questions. What makes CPIO different than TAR? I was told in another question that tar is for pulling together many files into 1 archive which ...
3
votes
4answers
240 views

Has zip any advantages over bz2? [duplicate]

Possible Duplicate: How can I evaluate the best choice of archive format for compressing files? I've just downloaded phpBB3 and saw they offer a bz2 (1.51 MB) and a zip (2.35 MB) download. ...
2
votes
2answers
2k views

Linux shell: repack a bz2 archive into xz

How can I repack .bz2 archive to .xz format, if I want to save datestamp of file and its chmod-chown settings? I can use any standard tools and xz, lzma, p7zip
3
votes
2answers
262 views

What type of data is compressed more effectively by bzip2 than gzip/zlib?

I'm comparing compression functions, and I'm surprised by what I'm seing. Maybe I'm doing something wrong, but everything I've tested has been more compressed by gzip than bzip2! I was under the ...
11
votes
4answers
4k views

Is there a way to mount a file.tar.bz2 without extracting it onto the filesystem?

Is there a way to mount a file.tar.bz2 without extracting it onto the filesystem? I don't care if the mount is read only. Hopefully your answer will also apply to file.tar.gz. "mount" in this ...
0
votes
1answer
1k views

Failing to extract a tar/bz2 file

File in question is http://code.google.com/p/wkhtmltopdf/downloads/detail?name=wkhtmltopdf-0.10.0_rc2-static-i386.tar.bz2 meder@pc:~$ tar -xvjf wkhtmltopdf-0.10.0_rc2-static-i386.tar.bz2 bzip2: ...
1
vote
2answers
666 views

Extracting a bzip2 file throws “Can't guess original name” and does not extract separate files

I made a bzip2 file by bzip2 -c /home/os/picture1 > /home/os/Desktop/pic.image bzip2 -c /home/os/picture2 >> /home/os/Desktop/pic.image But now extracting pic.image by bzip2 -d ...
73
votes
5answers
40k views

Pros and cons of bzip vs gzip?

I've known gzip for years, recently I saw bzip being used at work. Are they basically equivalent, or are there significant pros and cons to one of them over the other?
70
votes
5answers
92k views

How to password protect gzip files on the command line?

I want to create some tar.gz (and possibly tar.bz2) files, using the tar command on Ubuntu 10.04. I want to password protect the file. What is the command to do this (I have Googled, but found ...
1
vote
3answers
4k views

Good Open Source/Free Program to Convert a bz2 file to ISO?

I have a very large bz2 file which I want to convert to a ISO image. Are there any good open source/free programs that can do this WITHOUT having to extract it first? EDIT: When I mean "without ...
16
votes
2answers
8k views

Is there a way to determine the decompressed size of a .bz2 file?

Is there a way to print the decompressed size of a .bz2 file without actually decompressing the entire thing?
5
votes
2answers
1k views

Linux - Is there a way to convert .bz2 files to .tar.bz2 files using pipes?

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 ...