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

continue downloads #1

Open
mfiers opened this issue Nov 26, 2019 · 3 comments
Open

continue downloads #1

mfiers opened this issue Nov 26, 2019 · 3 comments

Comments

@mfiers
Copy link

mfiers commented Nov 26, 2019

Hey Gert,

Super useful script! Thanks!

One suggested addition - i had a download crash not long before finishing - instead of this script stopping if a file exists - you could also add -C - to the curl command line and it continues the download - saves a lot of time.

M

@ghuls
Copy link
Member

ghuls commented Nov 26, 2019

Hey Mark,

Glad you liked the script.

I added the -C - to curl.

@mfiers
Copy link
Author

mfiers commented Nov 26, 2019

Great!!
now - one more minor comment - you probably should also remove the check whether the output file exists - otherwise it will exit before the curl -c - starts...
thanks!
M

@ghuls
Copy link
Member

ghuls commented Nov 29, 2019

Fixed.

It now also will ask what to do when a file was already downloaded:

Do you want to (R)esume or re(S)tart the download or (C)ancel?

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

No branches or pull requests

2 participants