DEV Community

Jack H. Peterson
Jack H. Peterson

Posted on

1

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

Billboard image

The Next Generation Developer Platform

Coherence is the first Platform-as-a-Service you can control. Unlike "black-box" platforms that are opinionated about the infra you can deploy, Coherence is powered by CNC, the open-source IaC framework, which offers limitless customization.

Learn more

👋 Kindness is contagious

Please leave a ❤️ or a friendly comment on this post if you found it helpful!

Okay