Shukaro
Shukaro

Reputation: 47

Changing folder structure for Github repo zip download

Currently, if I were to download a repo through a link like this that's provided on any github repo (for example https://github.com/Shukaro/TekkitPlus/archive/master.zip) the folder structure ends up being master.zip/somefolder/repofilesandfolders. Is it possible to download the repo in such a way that the folder structure ends up as master.zip/repofilesandfolders?

Upvotes: 0

Views: 187

Answers (2)

Radon8472
Radon8472

Reputation: 4971

I found a way in a similar questionusing 3rd-party pages to download subfolders from a given github repo.

e.g. you could try DownDir

Source-Question: https://stackoverflow.com/a/70876089/2377961

Upvotes: 0

Ivan Zuzak
Ivan Zuzak

Reputation: 18782

Nope, not possible currently. You have to unpackage and repackage manually to get the structure you want.

Upvotes: 1

Related Questions