nixCraft Linux Forum

nixCraft

Linux / UNIX Tech Support Forum

How do I recover a bzip2 file?

This is a discussion on How do I recover a bzip2 file? within the Linux software forums, part of the Linux Getting Started category; Hi all, My file called file1.bzip2 is corruped how can i recover it? thanks...


Go Back   nixCraft Linux Forum > Linux Getting Started > Linux software

Linux answers from nixCraft.


Linux software General questions and discussion about Redhat/Fedora Core/Cent OS, Debian and Ubuntu Linux related to softwares should go here.

Reply

 

LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 14-06-2006, 04:00 PM
Senior Member
User
 
Join Date: Jun 2005
Posts: 137
Thanks: 21
Thanked 4 Times in 3 Posts
Rep Power: 5
jerry is on a distinguished road
Default How do I recover a bzip2 file?

Hi all,

My file called file1.bzip2 is corruped how can i recover it?

thanks
Reply With Quote
  #2 (permalink)  
Old 14-06-2006, 04:27 PM
rockdalinux's Avatar
Is that all you got?
User
 
Join Date: May 2005
Location: Planet Vegeta
OS: Redhat
Posts: 708
Thanks: 15
Thanked 19 Times in 18 Posts
Rep Power: 10
rockdalinux is a glorious beacon of light rockdalinux is a glorious beacon of light rockdalinux is a glorious beacon of light rockdalinux is a glorious beacon of light rockdalinux is a glorious beacon of light rockdalinux is a glorious beacon of light
Default

Use bzip2recover command, which recovers data from damaged bzip2 files. For example, to recover file1.bz2, type the command:

bzip2recover file1.bz2

It will creats lots of file in same directory. Run following command on all those files:
Code:
bzip2 -dc rec*.bz2 > newdatafile
Hope this helps
__________________
Rocky Jr.
What's wrong? I hope I am not making you uncomfortable...

Never send a boy to do a mans job.
Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)

 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads

Thread Thread Starter Forum Replies Last Post
Howto: Linux recover lost partitions? chimu Linux software 4 14-09-2009 02:48 PM
How to recover the incremental backup? Charlie82 Shell scripting 6 31-07-2007 05:57 AM
How to recover if server crash in remote? kitty@sad Solaris/OpenSolaris 1 27-02-2007 09:02 PM
how to recover deleted files using script soma Shell scripting 2 22-06-2005 07:18 PM


All times are GMT +5.5. The time now is 05:38 AM.


Powered by vBulletin® Version 3.8.5 - Copyright ©2000 - 2010, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.3.2
©2005-2010 nixCraft. All rights reserved

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38