Reputation: 8991
tried this:
TOKEN="bla"
wget -r --no-parent --reject "index.html*" https://api.github.com/repos/organiztion/RepoName/contents/Framework/deploy_scripts/ --header "Authorization: token $TOKEN" --header 'Accept: application/vnd.github.v3.raw'
I am getting a file with a list of all the files in the directory. I want to the actual files and not a list.
Rather not write a bash script to loop over the files and download all of them.
I Prefer solutions that are "raw" meaning wget or curl and not svn ,please.
Upvotes: 0
Views: 1308
Reputation: 452
Github give you the opportunity to grab a repo with SVN. SVN allow you to download the content of a repo subfolder only.
Take a look at this post: Download a single folder or directory from a GitHub repo
Upvotes: 1