All of lore.kernel.org
 help / color / mirror / Atom feed
* wget --content-disposition flag
@ 2014-08-19 10:05 Maxim Uvarov
  2014-08-19 11:41 ` Martin Jansa
  0 siblings, 1 reply; 2+ messages in thread
From: Maxim Uvarov @ 2014-08-19 10:05 UTC (permalink / raw)
  To: openembedded-devel

Hello,

can we add by default wget --content-disposition flag? Github has 
releases feature and creates tarball for certain git tag. And tarball 
file name is for example v1.tar.gz.  But for html content right name can 
be used i.e. project-name-v1.tar.gz.

If it's possible to add this flag wget will downloads files to right 
file names:

Example:
wget --content-disposition 
https://github.com/muvarov/daq-odp/archive/v0.1.tar.gz

Thank you,
Maxim.


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

* Re: wget --content-disposition flag
  2014-08-19 10:05 wget --content-disposition flag Maxim Uvarov
@ 2014-08-19 11:41 ` Martin Jansa
  0 siblings, 0 replies; 2+ messages in thread
From: Martin Jansa @ 2014-08-19 11:41 UTC (permalink / raw)
  To: openembedded-devel

[-- Attachment #1: Type: text/plain, Size: 992 bytes --]

On Tue, Aug 19, 2014 at 02:05:17PM +0400, Maxim Uvarov wrote:
> Hello,
> 
> can we add by default wget --content-disposition flag? Github has 
> releases feature and creates tarball for certain git tag. And tarball 
> file name is for example v1.tar.gz.  But for html content right name can 
> be used i.e. project-name-v1.tar.gz.

Aren't those tarballs regenerated from time to time like snapshots are?

In that case we cannot use them, because they change checksums from time
to time.

> If it's possible to add this flag wget will downloads files to right 
> file names:
> 
> Example:
> wget --content-disposition 
> https://github.com/muvarov/daq-odp/archive/v0.1.tar.gz
> 
> Thank you,
> Maxim.
> -- 
> _______________________________________________
> Openembedded-devel mailing list
> Openembedded-devel@lists.openembedded.org
> http://lists.openembedded.org/mailman/listinfo/openembedded-devel

-- 
Martin 'JaMa' Jansa     jabber: Martin.Jansa@gmail.com

[-- Attachment #2: Digital signature --]
[-- Type: application/pgp-signature, Size: 188 bytes --]

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

end of thread, other threads:[~2014-08-19 11:41 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-08-19 10:05 wget --content-disposition flag Maxim Uvarov
2014-08-19 11:41 ` Martin Jansa

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.