How can I use curl to batch-download files separated by 10 digits each?
-
http://b2ctran.wordpress.com/2011/10/14/use-curl-to-batch-download-files-from-a-website/ Has this command $ curl -L -O http://www.example site.com/color/pic/fire[1-5].gif But what if I want the command to be fire[0:10:100].gif? I'm used to DownThemAll notation.
-
Answer:
You can do it simply by using a shell script: for i in seq 0 10 100seq010100seq 0 10 100; do curl -L -O http://www.examplesite.com/color/pic/fire[$i-$(($i+9))].gif; done
Ashish Srivastava at Quora Visit the source
Related Q & A:
- How can I use SSL with django?Best solution by Stack Overflow
- How can I use XMP in Sharepoint metadata?Best solution by Stack Overflow
- How can I set up outlook to download mail?Best solution by Yahoo! Answers
- How can i attach word,excel,mp3,picture files to e-mail messages in yahoo mail quickly?Best solution by Yahoo! Answers
- How can I escape the graboid video download limitation?Best solution by Yahoo! Answers
Just Added Q & A:
- How many active mobile subscribers are there in China?Best solution by Quora
- How to find the right vacation?Best solution by bookit.com
- How To Make Your Own Primer?Best solution by thekrazycouponlady.com
- How do you get the domain & range?Best solution by ChaCha
- How do you open pop up blockers?Best solution by Yahoo! Answers
For every problem there is a solution! Proved by Solucija.
-
Got an issue and looking for advice?
-
Ask Solucija to search every corner of the Web for help.
-
Get workable solutions and helpful tips in a moment.
Just ask Solucija about an issue you face and immediately get a list of ready solutions, answers and tips from other Internet users. We always provide the most suitable and complete answer to your question at the top, along with a few good alternatives below.