I have a file called filename.bz2 that 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?
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 nothing that shows how to create and extract compressed…
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?
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 then is usually gzip'd or bzip'd.
Also I was told TAR…
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 context is meant to be akin to mounting an ISO file.
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 .zip? Seems to work for WinRar.
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 --help' or 'tar --usage' for more information.
Did…
I just read that tar can create .tar.bz2 files. All this while, I was using tar + bzip2 to do this.
I was wondering if there was a difference between using tar to create the archive vs using bzip2?
Also, why have 2 things which does the same…
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…
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 compressed copy and the original. Is there any way to…