LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 09-09-2009, 02:17 PM   #1
corbis_demon
Member
 
Registered: Jun 2004
Distribution: CLFS
Posts: 523

Rep: Reputation: 38
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.
 
Old 09-09-2009, 02:56 PM   #2
druuna
LQ Veteran
 
Registered: Sep 2003
Posts: 10,532
Blog Entries: 7

Rep: Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405
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.
 
Old 09-09-2009, 03:15 PM   #3
corbis_demon
Member
 
Registered: Jun 2004
Distribution: CLFS
Posts: 523

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


Reply



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



Similar Threads
Thread Thread Starter Forum Replies Last Post
How to do search & replace on a text file--need to extract URLs from a sitemap file Mountain Linux - General 4 08-07-2015 10:52 AM
How to extract particular text in a text file maverick_cat Linux - Newbie 3 07-22-2008 02:44 AM
Extract certain text info from text file xmrkite Linux - Software 30 02-26-2008 11:06 AM
most optimal way to read a text file that is gzip'ed in C? hedpe Programming 2 06-27-2006 10:46 AM
Extract text from a html file gsphanikumar6 Linux - Newbie 2 08-20-2004 01:11 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 08:52 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration