Rumpelstiltskin
Rumpelstiltskin

Reputation: 293

How to download all documents from OWASP (github)?

I wanted to download all the documents from OWASP repository in github:

https://github.com/OWASP/DevGuide/find/dc5a2977a4797d9b98486417a5527b9f15d8a251

I haven't found an action button where I can download all documents in just one click (I need to enter each page to download).

Upvotes: 0

Views: 313

Answers (2)

eblondel
eblondel

Reputation: 603

Why don't you use the zip archive? https://github.com/OWASP/DevGuide/archive/2.0.1.zip .

By default, the page of a repository will give the link to download the zipped master branch, clicking on "Download ZIP" (on the right column). If you select the appropriate branch, in your case, the 2.0.1 branch, you can use the same "Download ZIP" which will targets the selected branch.

In a general way, in Github, you can download the content of a repository in the following way:

https://github.com/user_or_organization/repository/archive/branch.zip

Upvotes: 1

pjmorse
pjmorse

Reputation: 9294

Downloading the zip archive is probably best for your purposes (see @eblondel's answer) but if you have git on your system you could also just clone the archive:

> git clone https://github.com/OWASP/DevGuide.git
> git checkout 2.0.1

Then look in the 'DevGuide 2.0' directory of the resulting folder.

Upvotes: 0

Related Questions