Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Ensure wget spam less messages on large files #49

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

nvtkaszpir
Copy link

No description provided.

@nvtkaszpir
Copy link
Author

not tested
¯_(ツ)_/¯

@nvtkaszpir
Copy link
Author

also this can be dropped in favour of creating ~/.wgetrc file:

connect_timeout = 10
progress = dot:giga
retry_connrefused = on
tries = 5

Example output:

--2022-11-21 21:53:33--  https://github.com/nQuake/distfiles/releases/download/snapshot/sv-maps.zip
Resolving github.com (github.com)... 140.82.121.3
Connecting to github.com (github.com)|140.82.121.3|:443... connected.
HTTP request sent, awaiting response... 302 Found
Location: https://objects.githubusercontent.com/github-production-release-asset-2e65be/241981941/75fa7a0d-5cd1-444c-8529-18853d2e08d2?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=AKIAIWNJYAX4CSVEH53A%2F20221121%2Fus-east-1%2Fs3%2Faws4_request&X-Amz-Date=20221121T215333Z&X-Amz-Expires=300&X-Amz-Signature=7ac8b47b994dccf2f9addec1bb3d8e7b41832b6b3ab6f05aa39b03387ef88a98&X-Amz-SignedHeaders=host&actor_id=0&key_id=0&repo_id=241981941&response-content-disposition=attachment%3B%20filename%3Dsv-maps.zip&response-content-type=application%2Foctet-stream [following]
--2022-11-21 21:53:33--  https://objects.githubusercontent.com/github-production-release-asset-2e65be/241981941/75fa7a0d-5cd1-444c-8529-18853d2e08d2?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=AKIAIWNJYAX4CSVEH53A%2F20221121%2Fus-east-1%2Fs3%2Faws4_request&X-Amz-Date=20221121T215333Z&X-Amz-Expires=300&X-Amz-Signature=7ac8b47b994dccf2f9addec1bb3d8e7b41832b6b3ab6f05aa39b03387ef88a98&X-Amz-SignedHeaders=host&actor_id=0&key_id=0&repo_id=241981941&response-content-disposition=attachment%3B%20filename%3Dsv-maps.zip&response-content-type=application%2Foctet-stream
Resolving objects.githubusercontent.com (objects.githubusercontent.com)... 185.199.110.133, 185.199.109.133, 185.199.111.133, ...
Connecting to objects.githubusercontent.com (objects.githubusercontent.com)|185.199.110.133|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: 119355879 (114M) [application/octet-stream]
Saving to: 'sv-maps.zip'

     0K ........ ........ ........ ........ 28% 12.2M 7s
 32768K ........ ........ ........ ........ 56% 21.6M 3s
 65536K ........ ........ ........ ........ 84% 22.3M 1s
 98304K ........ ........ .                100% 21.5M=6.4s

2022-11-21 21:53:40 (17.9 MB/s) - 'sv-maps.zip' saved [119355879/119355879]

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant