LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - General (https://www.linuxquestions.org/questions/linux-general-1/)
-   -   how to extract gzip'ed text file? (https://www.linuxquestions.org/questions/linux-general-1/how-to-extract-gziped-text-file-753957/)

corbis_demon 09-09-2009 02:17 PM

how to extract gzip'ed text file?
 
Hi,
While wanting to create a gzip'ed file from 3 input files:

Code:

tar -cvzf file.tar.gz foo1 foo2 foo3
I did this:

Code:

tar -cvzf foo1 foo2 foo3
Is there a way I could get back foo1 in it's original format? Please advise.

druuna 09-09-2009 02:56 PM

Hi,

The original foo1 is gone (I do hope you made backups...), it now holds foo2 and foo3. Thre's no way to recover the original textfile.

corbis_demon 09-09-2009 03:15 PM

I was afraid that would be the case. And unfortunately, I didn't back it up. Thank you, nonetheless, for your reply.


All times are GMT -5. The time now is 01:44 AM.