The tag has no wiki summary.

learn more… | top users | synonyms

1
vote
1answer
18 views

BASH: bz2 to gzip conversion with find

I would like to convert a muliply bzip2 files to gzip format. I achived this with foor loop but I would like to do the same with find: BASH for loop: for i in $(ls -1 *.bz2); do echo "Converting: $i ...
0
votes
1answer
74 views

Unable to Unzip a tar.gz.bz2

We run daily backups of our MySQL server. Using the following script: [ ! -d "${DEST}" ] && mkdir -p "${DEST}" FILE=${DEST}/mysql-live.${NOW}-$(date +"%T").tar.gz.bz2 # get around error ...
0
votes
0answers
26 views

Bzip2 not deleting original files

I have a 100GB large backup file, which i compress with bzip2. But bzip2 for some reason keeps the original file. If i try it, it deletes the original file as it should: # touch file # ls file* ...
0
votes
0answers
37 views

What is the maximum number of handled blocks for the bzip2 command line tool?

I know from the manual pages of bzip2 that it writes it's data in blocks, of sizes from 100-900kb. We have ran into a problem with a 150GB bzip2 file, that it gives an "Unexpected EOF" error when ...
6
votes
4answers
222 views

Join large overlapping files

I am trying to recover a (MySQL) database from a crashed disk. There are a number of recent dumps, which are corrupted bz2 files. Since the database does not change often, the dumps should be nearly ...
0
votes
3answers
967 views

zip does not work for big files

What is the best way to compress a file if it is more than 4 GB in size? I am using the following for last several months. mysqldump --all-databases | zip > mybackup.zip Today I am got an ...
0
votes
2answers
357 views

CRC Failed, File is broken, using php system command to tar a directory

Can anybody see a problem with the below PHP code? Or have any ideas to troubleshoot a solution as to why whenever I download the backup file.tar.gz and try to open it using 7zip on windows... that I ...
6
votes
1answer
266 views

Ultra-efficient compression

I store a very large (TBytes) amount of logs. These logs will rarely be extracted, and when they will - only a single file will be required. Could you recommend an ultra-efficient and extremely ...
0
votes
3answers
301 views

How to use bzdiff to find difference between 2 bzipped files with diff -I option?

I'm trying to do a diff on MySQL dumps (created with mysqldump and piped to bzip2), to see if there are changes between consecutive dumps. The followings are the tails of 2 dumps: tmp1: /*!40101 SET ...
4
votes
3answers
3k views

How to list content from a tar file without recursion?

I've a tar (gz, bzip) file and want to see its content, but not recursively. This is: The "first level" in the file. I already know how to see content: tar -ztf file.tar.gz But it's recursive!! ...
0
votes
3answers
140 views

BZ2 backup files don't differ in size from day to day

Recently I switched from zip to bz2 for compressing nightly database dumps. The command I'm using is tar cj. The old zip files would always differ ever so slightly in size from day to day: -rw-r--r-- ...
1
vote
2answers
1k views

How to use 7-zip to send a Zip64-compressed file to standard output?

I would like to make a Zip64 archive from a bunch of bzip2 files, using 7za's -so option to send the compressed archive to standard output: $ 7za a dummy -tzip -so myFiles*.bz2 > test.zip Here ...
4
votes
3answers
4k views

How can I recursively bzip2 all files that aren't bzipped?

How can I recursively bzip2 all files that do not end with the .bz2 extension in Linux?
1
vote
1answer
325 views

bzip2 and compressed stream concatenation

With gzip you can do something like this: gzip -c file1 > output.gz gzip -c file2 >> output.gz gzip -c file3 >> output.gz and when you uncompress output.gz it will contain ...
0
votes
2answers
2k views

How do I fix a broken tar file?

I have a 46GB tar file containing an .img of an old partition. Unfortunately, it produces a 0-byte file when un-tar'ed. The tar file was produced on linux, I'm on windows now. I have tried WinRAR, ...