Bzip2 and gzip only use one core, although many computers have more than one core. But there are programs like lbzip2, pbzip2 and pigz, which use all available cores and promise to be compatible with bzip2 and gzip.
So what's the best way to use…
So I have this wikipedia dump sized at about 10gb and named as "enwiki-latest-pages-articles.xml.bz2".
I have been trying the following commands in the terminal to unzip the dump:
tar jxf enwiki-latest-pages-articles.xml.bz2
And
tar xvf…
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…
As bzip2 claims to compress best (in size), I decided to use it. The working server can offer 24 (virtuals) CPUs (4 real X5650 @ 2.67GHz) - and thus I decided to look for parallel variants.
Using debian stable - sorry, but I found best matches…
I want to gzip two or more files into one file, I checked this and this but both have files like: n1.txt, n2.txt, ... but my filenames are completely different, like: file.mp4, bar.txt, foo.jpeg and I want to gzip them all and put the output into…
I am confused about archiving and compression and I am going to write what I think is correct.
Here are the commands that I wish to get a better understanding of:
tar –c file > file.tar
tar –cf file.tar file // this command and the previous one are…
I have recently tried to build Hadoop 2.4 to use it's native libraries.
And when I check that if hadoop is really using it. I get the following warning :
WARN bzip2.Bzip2Factory: Failed to load/initialize native-bzip2 library system-native, will…
I downloaded a file from lynx sources site:
http://invisible-mirror.net/archives/lynx/tarballs/?C=M;O=D
Specifically this file: lynx2.8.8rel.2.tar.bz2 (tried several from the site).
When I apply tar xjf to the file I receive the following error: …
How do I find all files in a folder(including subfolders) with extension jpg or bmp, with size between 6 and 46 kilobytes, last modified between 11 and 19 June 2011 or between 24 July and 2 August inclusively and add all these files to an…
I have an old bzip file that I need to unpack. However, I can only seem to find bunzip2, which does not read this bzip file.
I have not been able to find any program that handles bzip files. Is there really nothing modern that can read such a file?
I want to decompress a file, I wrote this command:
bunzip2 linux-source-4.15.0.tar.bz2
and I got this:
bunzip2: Input file linux-source-4.15.0.tar.bz2 is not a normal file.
I want to know exactly what is the problem.
I ran file…
I'm trying to build this repo for neural networks implemented in CUDA.
I've followed the instructions in that link and performed the following actions on a shell:
git clone https://github.com/ANNetGPGPU/ANNetGPGPU.git
cd ANNetGPGPU
mkdir build
cd…
Extremely new to the command line (read: no clue what I'm doing), so I have been trying to teach myself some basic commands by doing some run of the mill stuff. Currently trying to install Marathon on my computer by following the instructions on:…
A fresh install of Ubuntu 12.04(LTS) onto Virtual Box 4.2.18 seems to go well, however, I receive a bzip2 related error when trying to update. I was hoping a seasoned Ubuntu expert could help me decipher and correct the problem. Here is the…
By default, bzcat (or, equivalently, bzip2 -dc or bunzip2 -c) will keep the source (compressed file) and not delete it. Is there a flag or other means (besides thereafter manually rming the file) to delete the compressed file when using bzcat or one…