linux-admin.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* Re: Tar Errors
       [not found] <200306190740.h5J7eF36027160@cdm01.deedsmiscentral.net>
@ 2003-06-19 14:23 ` Scott Taylor
  2003-06-19 14:49   ` Mike Dresser
       [not found]   ` <Pine.LNX.4.33.0306191048430.7570-100000@router.windsormach ine.com>
  2003-06-19 17:22 ` Glynn Clements
  1 sibling, 2 replies; 8+ messages in thread
From: Scott Taylor @ 2003-06-19 14:23 UTC (permalink / raw)
  To: deedsmis, linux-admin

At 00:40 06/19/03, you wrote:
>Recently I discovered some files compressed by "tar --same-owner
>-cpzvf sample.tar.gz <directory_name>" that wouldn't extract
>correctly with "tar -xzvf sample.tar.gz", as in the following output:
>
>tar: <path>/html-charset/symbols/tiny_letters/?D=D: Cannot open:
>Invalid argument
>
>How can the files be extracted from the tar/gzip file?

You have a file named "?D=D"?

Try with the exact path and filename enquote.
>tar -xvfz "<path>/html-charset/symbols/tiny_letters/?D=D"

What software did you install that has files with such names?



^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: Tar Errors
  2003-06-19 14:23 ` Tar Errors Scott Taylor
@ 2003-06-19 14:49   ` Mike Dresser
       [not found]   ` <Pine.LNX.4.33.0306191048430.7570-100000@router.windsormach ine.com>
  1 sibling, 0 replies; 8+ messages in thread
From: Mike Dresser @ 2003-06-19 14:49 UTC (permalink / raw)
  To: linux-admin

On Thu, 19 Jun 2003, Scott Taylor wrote:

> >tar -xvfz "<path>/html-charset/symbols/tiny_letters/?D=D"
>
> What software did you install that has files with such names?

wget will create files like that while downloading from webservers, for
one.


^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: Tar Errors
       [not found]   ` <Pine.LNX.4.33.0306191048430.7570-100000@router.windsormach ine.com>
@ 2003-06-19 15:01     ` Scott Taylor
  2003-06-19 15:21       ` Mike Dresser
       [not found]       ` <Pine.LNX.4.33.0306191109010.7570-100000@router.windsormach ine.com>
  0 siblings, 2 replies; 8+ messages in thread
From: Scott Taylor @ 2003-06-19 15:01 UTC (permalink / raw)
  To: linux-admin

At 07:49 06/19/03, Mike Dresser wrote:
>On Thu, 19 Jun 2003, Scott Taylor wrote:
>
> > >tar -xvfz "<path>/html-charset/symbols/tiny_letters/?D=D"
> >
> > What software did you install that has files with such names?
>
>wget will create files like that while downloading from webservers, for
>one.

Really?  I use wget all the time and have yet to witness this odd 
behaviour.  Usually wget only creates the file I'm downloading.

Which version of wget are you using that does this?  Can you reproduce this 
bug?  It should be submitted.

Scott.


^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: Tar Errors
  2003-06-19 15:01     ` Scott Taylor
@ 2003-06-19 15:21       ` Mike Dresser
       [not found]       ` <Pine.LNX.4.33.0306191109010.7570-100000@router.windsormach ine.com>
  1 sibling, 0 replies; 8+ messages in thread
From: Mike Dresser @ 2003-06-19 15:21 UTC (permalink / raw)
  To: linux-admin

On Thu, 19 Jun 2003, Scott Taylor wrote:

> > > >tar -xvfz "<path>/html-charset/symbols/tiny_letters/?D=D"
>
> Which version of wget are you using that does this?  Can you reproduce this
> bug?  It should be submitted.
>
> Scott.

Hum, now i need to reproduce this.  I'll try and remember/figure out what
I was doing to create these.

Got it.  If i wget -r my website, I end up with stuff like

11:12:57 (1.03 MB/s) - `website.com/path/index.html?D=D' saved [1080]

I don't do html on my webpage, so all the "pages" are http server
responses, sorted by various means, instead of an index.html

So it's not strictly a ?D=D issue, it's somewhat similar in filenames.

Sorry about the confusion

Mike


^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: Tar Errors
       [not found]       ` <Pine.LNX.4.33.0306191109010.7570-100000@router.windsormach ine.com>
@ 2003-06-19 15:45         ` Scott Taylor
  2003-06-19 15:55           ` Mr. James W. Laferriere
  2003-06-19 16:00           ` Mike Dresser
  0 siblings, 2 replies; 8+ messages in thread
From: Scott Taylor @ 2003-06-19 15:45 UTC (permalink / raw)
  To: linux-admin

At 08:21 06/19/03, Mike Dresser wrote:
>On Thu, 19 Jun 2003, Scott Taylor wrote:
>
> > > > >tar -xvfz "<path>/html-charset/symbols/tiny_letters/?D=D"
> >
> > Which version of wget are you using that does this?  Can you reproduce this
> > bug?  It should be submitted.
> >
> > Scott.
>
>Hum, now i need to reproduce this.  I'll try and remember/figure out what
>I was doing to create these.
>
>Got it.  If i wget -r my website, I end up with stuff like

Again, your version maybe broken.  using wget 1.8.2 the only way I get that 
is to request it
wget -r localhost/?D=D

will add ?D=D to index.html, but I don't know why I would want that.

wget -r localhost
works fine and does not add ?D=D, all I get is all the files relative to 
the localhost httpd, and those subdirectories, even the non-html ones.  As 
it should be.

Maybe you need an update, or the newer one has a bug.

If people requesting information would divulge their secret OS version and 
distro we would be able to skip a lot of guessing.

Scott.


^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: Tar Errors
  2003-06-19 15:45         ` Scott Taylor
@ 2003-06-19 15:55           ` Mr. James W. Laferriere
  2003-06-19 16:00           ` Mike Dresser
  1 sibling, 0 replies; 8+ messages in thread
From: Mr. James W. Laferriere @ 2003-06-19 15:55 UTC (permalink / raw)
  To: Scott Taylor; +Cc: linux-admin

	Hello All , Filenames like that are endemic of M$ operating
	systems & their tools .  iirc it pops up during errors & warnings
	and is quite possibly a filename with a space ' ' in it .
	If I was the original person with this problem I'd set up a
	'exclude' file with a regex for that one & just drop it from my
	tarballs .  Hth ,  JimL

On Thu, 19 Jun 2003, Scott Taylor wrote:
> At 08:21 06/19/03, Mike Dresser wrote:
> >On Thu, 19 Jun 2003, Scott Taylor wrote:
> > > > > >tar -xvfz "<path>/html-charset/symbols/tiny_letters/?D=D"
> > > Which version of wget are you using that does this?  Can you reproduce this
> > > bug?  It should be submitted.
> > > Scott.

> >Hum, now i need to reproduce this.  I'll try and remember/figure out what
> >I was doing to create these.
> >Got it.  If i wget -r my website, I end up with stuff like

> Again, your version maybe broken.  using wget 1.8.2 the only way I get that
> is to request it
> wget -r localhost/?D=D

> will add ?D=D to index.html, but I don't know why I would want that.

> wget -r localhost
> works fine and does not add ?D=D, all I get is all the files relative to
> the localhost httpd, and those subdirectories, even the non-html ones.  As
> it should be.

> Maybe you need an update, or the newer one has a bug.

> If people requesting information would divulge their secret OS version and
> distro we would be able to skip a lot of guessing.
> Scott.
-- 
       +------------------------------------------------------------------+
       | James   W.   Laferriere | System    Techniques | Give me VMS     |
       | Network        Engineer |     P.O. Box 854     |  Give me Linux  |
       | babydr@baby-dragons.com | Coudersport PA 16915 |   only  on  AXP |
       +------------------------------------------------------------------+

^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: Tar Errors
  2003-06-19 15:45         ` Scott Taylor
  2003-06-19 15:55           ` Mr. James W. Laferriere
@ 2003-06-19 16:00           ` Mike Dresser
  1 sibling, 0 replies; 8+ messages in thread
From: Mike Dresser @ 2003-06-19 16:00 UTC (permalink / raw)
  To: linux-admin

On Thu, 19 Jun 2003, Scott Taylor wrote:

> Again, your version maybe broken.  using wget 1.8.2 the only way I get that
> is to request it
> wget -r localhost/?D=D

On another machine running debian potato, wget 1.5.2, i see only a set of
?D=D's for the main index.html that wget created(since there isn't really
a index.html on my entire site.

On the wget 1.8.2 on debian unstable, I see a new ?D=D for every
"index.html".

So the old wget was broken, and the new one is actually working.

However, it's actually the server side that is doing this, as apache sends
out those index.html?D=D links. :) (just verified this in mozilla)

So yeah, wget does create files with ?D=D, but only because it's been told
to ;)

Mike


^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: Tar Errors
       [not found] <200306190740.h5J7eF36027160@cdm01.deedsmiscentral.net>
  2003-06-19 14:23 ` Tar Errors Scott Taylor
@ 2003-06-19 17:22 ` Glynn Clements
  1 sibling, 0 replies; 8+ messages in thread
From: Glynn Clements @ 2003-06-19 17:22 UTC (permalink / raw)
  To: deedsmis, linux-admin


SoloCDM wrote:

> Recently I discovered some files compressed by "tar --same-owner
> -cpzvf sample.tar.gz <directory_name>" that wouldn't extract
> correctly with "tar -xzvf sample.tar.gz", as in the following output:
> 
> tar: <path>/html-charset/symbols/tiny_letters/?D=D: Cannot open:
> Invalid argument

Are you trying to extract to a FAT (DOS/Windows) filesystem? FAT
doesn't allow the "?" character in filenames.

-- 
Glynn Clements <glynn.clements@virgin.net>

^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2003-06-19 17:22 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
     [not found] <200306190740.h5J7eF36027160@cdm01.deedsmiscentral.net>
2003-06-19 14:23 ` Tar Errors Scott Taylor
2003-06-19 14:49   ` Mike Dresser
     [not found]   ` <Pine.LNX.4.33.0306191048430.7570-100000@router.windsormach ine.com>
2003-06-19 15:01     ` Scott Taylor
2003-06-19 15:21       ` Mike Dresser
     [not found]       ` <Pine.LNX.4.33.0306191109010.7570-100000@router.windsormach ine.com>
2003-06-19 15:45         ` Scott Taylor
2003-06-19 15:55           ` Mr. James W. Laferriere
2003-06-19 16:00           ` Mike Dresser
2003-06-19 17:22 ` Glynn Clements

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).