DEV Community

Jack H. Peterson
Jack H. Peterson

Posted on

curl Multiple Files

Downloading resources at multiple URLs.

curl "example.com/path/{bravo, alpha, charlie}.html" -o "example/#1.html"
Enter fullscreen mode Exit fullscreen mode

Will result in:

example/bravo.html
example/alpha.html
example/charlie.html
Enter fullscreen mode Exit fullscreen mode

Easy way to get all of the links on a particular page (ie: directory)

Hop in the dev console on the page and paste:

copy(document.links)
Enter fullscreen mode Exit fullscreen mode

This will copy an array of all of the links on the page into clipboard.

Top comments (1)

Collapse
 
aleasekern profile image
AleaseKern

thanks for taking time to sharing such type of content with us i appreciate your work . Flats and Apartments To Rent in UK