Board index Linux Linux - Tips&Tricks

Moderator: chandranjoy

How do I recover a bzip2 file?

Postby chandranjoy » Wed Sep 01, 2010 8:11 pm

In order to recover a bzip2 file, follow these steps:

1. Test the integrity of the bzip2 file by typing the following command:

bzip2 -t [filename]


2. If the input is corrupted, run the command:

bzip2recover [filename]


3. Lastly, run:

bzip2 -dc rec*file.bz2 > [recovered_data]


That's it folks :)
chandranjoy
Site Admin
 
Posts: 283
Joined: Fri Oct 23, 2009 11:19 pm

Return to Linux - Tips&Tricks

Who is online

Users browsing this forum: No registered users and 1 guest


cron