Re: tar troubles

2001-09-07 Thread Tom Wilson

On Friday 07 September 2001 09:36 am, Net Llama dropped these nuggets 
of information:
[snippage]

>
> Oh, well.  I was hoping.  When you created the archive, did you see
> it add all the files?  Is it possible that you used a much newer
> version of tar to create the archive than you're using to extract it?

I thought that too but I changed from eD2.4 to RH7.1 so I figured that 
it would have a newer, or at least the same, version of tar on it that 
eD2.4 does.

Thanks.
-- 
Tom Wilson
Registered Linux user #199331
Live on your knees in conformity or die on your feet for honesty.

___
http://linux.nf -- [EMAIL PROTECTED]
Archives, Subscribe, Unsubscribe, Digest, Etc 
->http://linux.nf/mailman/listinfo/linux-users



Re: tar troubles

2001-09-07 Thread Tom Wilson

On Thursday 06 September 2001 11:58 pm, Kurt Wall dropped these nuggets 
of information:
> Tom Wilson wrote:
> > I asked:
> > > What is the output of:
> > >
> > > $ file mail.tar
> >
> > mail.tar: ASCII text, with no line terminators
>
> It's not a tar file, then. Here's the output for a tarball:
>
> $ file test.tar
> test.tar: GNU tar archive
>
> > Thanks.  I appreciate the help.
>
> Try
>
> $ vi -b mail.tar
>
> and see what you can see.
>
> Kurt

The vi -b mail.tar produced the same results as with plain vi.  @'s and 
^'s.  

I beginning to think that last time I did this I bonered it some how.  


Thanks again.
-- 
Tom Wilson
Registered Linux user #199331
Live on your knees in conformity or die on your feet for honesty.

___
http://linux.nf -- [EMAIL PROTECTED]
Archives, Subscribe, Unsubscribe, Digest, Etc 
->http://linux.nf/mailman/listinfo/linux-users



Re: tar troubles

2001-09-07 Thread Net Llama


--- Tom Wilson <[EMAIL PROTECTED]> wrote:
> On Thursday 06 September 2001 11:05 pm, Net Llama dropped these
> nuggets 
> of information:
> > --- Tom Wilson <[EMAIL PROTECTED]> wrote:
> [snips]
> 
> Hi Lonni
> 
> > > tar cvf mail.tar mail
> >
> > Ummm...is 'mail' a file or a directory?  If its a standard UNIX mail
> > file, then its, well, a file.  tar is for creating archives of
> > multiple files.  tar has no effect whatsoever on a single file. 
> Have
> > you tried just viewing the contents of mail.tar with a random text
> > editor, or even less (or more) ?
> 
> Mail was a directory for kmail.  It had the drafts, inbox, outbox, 
> trash, and my custom folders under it.  
> 
> Viewing it with less and vi filled the screen with @'s and ^'s.  Same 
> with xedit too.

Oh, well.  I was hoping.  When you created the archive, did you see it
add all the files?  Is it possible that you used a much newer version of
tar to create the archive than you're using to extract it?


=

Lonni J. Friedman [EMAIL PROTECTED]

Linux FAQ & Step-by-step help:http://netllama.ipfox.com

 .

__
Do You Yahoo!?
Get email alerts & NEW webcam video instant messaging with Yahoo! Messenger
http://im.yahoo.com
___
http://linux.nf -- [EMAIL PROTECTED]
Archives, Subscribe, Unsubscribe, Digest, Etc 
->http://linux.nf/mailman/listinfo/linux-users



Re: tar troubles

2001-09-06 Thread Kurt Wall

Tom Wilson wrote:
> I asked:
> > What is the output of:
> >
> > $ file mail.tar
> 
> mail.tar: ASCII text, with no line terminators 

It's not a tar file, then. Here's the output for a tarball:

$ file test.tar
test.tar: GNU tar archive

> Thanks.  I appreciate the help.

Try 

$ vi -b mail.tar 

and see what you can see.

Kurt
-- 
Mediocrity finds safety in standardization.
-- Frederick Crane
___
http://linux.nf -- [EMAIL PROTECTED]
Archives, Subscribe, Unsubscribe, Digest, Etc 
->http://linux.nf/mailman/listinfo/linux-users



Re: tar troubles

2001-09-06 Thread Tom Wilson

On Thursday 06 September 2001 11:05 pm, Net Llama dropped these nuggets 
of information:
> --- Tom Wilson <[EMAIL PROTECTED]> wrote:
[snips]

Hi Lonni

> > tar cvf mail.tar mail
>
> Ummm...is 'mail' a file or a directory?  If its a standard UNIX mail
> file, then its, well, a file.  tar is for creating archives of
> multiple files.  tar has no effect whatsoever on a single file.  Have
> you tried just viewing the contents of mail.tar with a random text
> editor, or even less (or more) ?

Mail was a directory for kmail.  It had the drafts, inbox, outbox, 
trash, and my custom folders under it.  

Viewing it with less and vi filled the screen with @'s and ^'s.  Same 
with xedit too.

[snips]
-- 
Tom Wilson
Registered Linux user #199331
Live on your knees in conformity or die on your feet for honesty.

___
http://linux.nf -- [EMAIL PROTECTED]
Archives, Subscribe, Unsubscribe, Digest, Etc 
->http://linux.nf/mailman/listinfo/linux-users



Re: tar troubles

2001-09-06 Thread Net Llama


--- Tom Wilson <[EMAIL PROTECTED]> wrote:
> On Wednesday 05 September 2001 10:40 pm, Myles Green dropped these 
> nuggets of information:
> 
> Hi Myles,
> 
> Sorry it took awhile to get back.  No problem with the questions.  
> Answers dispersed throughout.
> 
> >
> > A few questions, if I may. When you tar'd your mail folder what was
> > the command you used? 
> 
> tar cvf mail.tar mail

Ummm...is 'mail' a file or a directory?  If its a standard UNIX mail
file, then its, well, a file.  tar is for creating archives of multiple
files.  tar has no effect whatsoever on a single file.  Have you tried
just viewing the contents of mail.tar with a random text editor, or even
less (or more) ?

> Can you see what's in the .tar file using some
> > utility like KDE's Archiver or maybe midnight commander? 
> 
> KArchiver errors out with " I can't fork a decompressor".  I don't
> have 
> midnight commander installed.

Try something like xedit.  I strongly suspect that mail.tar = mail .
 



=

Lonni J. Friedman [EMAIL PROTECTED]

Linux FAQ & Step-by-step help:http://netllama.ipfox.com

 .

__
Do You Yahoo!?
Get email alerts & NEW webcam video instant messaging with Yahoo! Messenger
http://im.yahoo.com
___
http://linux.nf -- [EMAIL PROTECTED]
Archives, Subscribe, Unsubscribe, Digest, Etc 
->http://linux.nf/mailman/listinfo/linux-users



Re: tar troubles

2001-09-06 Thread Tom Wilson

On Wednesday 05 September 2001 10:40 pm, Myles Green dropped these 
nuggets of information:

Hi Myles,

Sorry it took awhile to get back.  No problem with the questions.  
Answers dispersed throughout.

>
> A few questions, if I may. When you tar'd your mail folder what was
> the command you used? 

tar cvf mail.tar mail

>Did you check the file size of the .tar file
> against the original folder (IIRC, they should be very close to the
> same)? 

No I didn't.  But I did test it by untarring it after I had it tar up 
but before I copied it to zip disk.  It untared fine then.

>Did you try unpacking the .tar.bz2 file with 'tar xyvf
> .tar.bz2'? 

Got a "y --invalid option"

Can you see what's in the .tar file using some
> utility like KDE's Archiver or maybe midnight commander? 

KArchiver errors out with " I can't fork a decompressor".  I don't have 
midnight commander installed.

>And lastly,
> have you done this successfully in the past?

I've successfully tarred them to backup but I've never had to try to 
restore them until now.  So I guess I haven't.  

>
> Sorry for all the questions but those are what came to mind.

No problem.  Thanks for the help.


-- 
Tom Wilson
Registered Linux user #199331
Live on your knees in conformity or die on your feet for honesty.

___
http://linux.nf -- [EMAIL PROTECTED]
Archives, Subscribe, Unsubscribe, Digest, Etc 
->http://linux.nf/mailman/listinfo/linux-users



Re: tar troubles

2001-09-06 Thread Tom Wilson

On Wednesday 05 September 2001 10:25 pm, Kurt Wall dropped these 
nuggets of information:

Hi Kurt,

Sorry it took awhile to get back.  Output is below.  

> What is the output of:
>
> $ file mail.tar

mail.tar: ASCII text, with no line terminators 

> $ ls -l mail.tar

-rw-rw-r--1 tom  tom 10240 Sep  5 21:51 mail.tar   

>
> Kurt

Thanks.  I appreciate the help.


-- 
Tom Wilson
Registered Linux user #199331
Live on your knees in conformity or die on your feet for honesty.

___
http://linux.nf -- [EMAIL PROTECTED]
Archives, Subscribe, Unsubscribe, Digest, Etc 
->http://linux.nf/mailman/listinfo/linux-users



Re: tar troubles

2001-09-05 Thread Myles Green

Tom Wilson <[EMAIL PROTECTED]> wrote:
> Hi all,
> 
> I moved from eDesktop 2.4 to Redhat 7.1 and when backing up and saving

> personal stuff, I tarred up my mail directory and bzip2 it up on to a 
> zip disk.
> 
> Now when trying to retrieve my mail directory, it bunzip2's ok but it 
> won't untar.  
> 
> tar xvf mail.tar puts me right back to a prompt with it still listed
as 
> mail.tar.  No error messages no nothing. Just the mail.tar file
staring 
> mockingly at me.  
> 
> Nothing I try with the tar command works.  It just always goes back to

> the prompt.  Any ideas of how I can untar this?  I hate to lose all 
> those e-mail tips I've received over the years.

A few questions, if I may. When you tar'd your mail folder what was the
command you used? Did you check the file size of the .tar file against
the original folder (IIRC, they should be very close to the same)? Did
you try unpacking the .tar.bz2 file with 'tar xyvf .tar.bz2'?
Can you see what's in the .tar file using some utility like KDE's
Archiver or maybe midnight commander? And lastly, have you done this
successfully in the past? 

Sorry for all the questions but those are what came to mind.

-- 
Myles Green Calgary AB Canada
Alberta Step by Step Mirror:
http://www.telusplanet.net/public/mylesg/


___
http://linux.nf -- [EMAIL PROTECTED]
Archives, Subscribe, Unsubscribe, Digest, Etc 
->http://linux.nf/mailman/listinfo/linux-users



Re: tar troubles

2001-09-05 Thread Kurt Wall

Tom Wilson wrote:
> Hi all,
> 
> I moved from eDesktop 2.4 to Redhat 7.1 and when backing up and saving 
> personal stuff, I tarred up my mail directory and bzip2 it up on to a 
> zip disk.
> 
> Now when trying to retrieve my mail directory, it bunzip2's ok but it 
> won't untar.  
> 
> tar xvf mail.tar puts me right back to a prompt with it still listed as 
> mail.tar.  No error messages no nothing. Just the mail.tar file staring 
> mockingly at me.  

What is the output of:

$ file mail.tar
$ ls -l mail.tar

Kurt
-- 
Five is a sufficiently close approximation to infinity.
-- Robert Firth

"One, two, five."
-- Monty Python and the Holy Grail
___
http://linux.nf -- [EMAIL PROTECTED]
Archives, Subscribe, Unsubscribe, Digest, Etc 
->http://linux.nf/mailman/listinfo/linux-users



tar troubles

2001-09-05 Thread Tom Wilson

Hi all,

I moved from eDesktop 2.4 to Redhat 7.1 and when backing up and saving 
personal stuff, I tarred up my mail directory and bzip2 it up on to a 
zip disk.

Now when trying to retrieve my mail directory, it bunzip2's ok but it 
won't untar.  

tar xvf mail.tar puts me right back to a prompt with it still listed as 
mail.tar.  No error messages no nothing. Just the mail.tar file staring 
mockingly at me.  

Nothing I try with the tar command works.  It just always goes back to 
the prompt.  Any ideas of how I can untar this?  I hate to lose all 
those e-mail tips I've received over the years.

Thanks.

--
Tom Wilson
Registered Linux user #199331
Live on your knees in conformity or die on your feet for honesty.

___
http://linux.nf -- [EMAIL PROTECTED]
Archives, Subscribe, Unsubscribe, Digest, Etc 
->http://linux.nf/mailman/listinfo/linux-users