Skip to contentSkip to conversation

wget --content-disposition flag

DISCUSSION Maxim Uvarov 2 participants 2 messages Aug 19, 2014

lore
Share & tools
lore
#0 lore raw

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.

#1 lore raw
Quoted 6 lines · Maxim Uvarov

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.

Quoted 14 lines

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.

Signature · 4 lines
_______________________________________________
Openembedded-devel mailing list
[email protected]
http://lists.openembedded.org/mailman/listinfo/openembedded-devel
Signature · 1 line
Martin 'JaMa' Jansa     jabber: [email protected]