Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Restitute path hierarchy from manifest URLs #14

Open
alicedb2 opened this issue Oct 18, 2019 · 1 comment
Open

Restitute path hierarchy from manifest URLs #14

alicedb2 opened this issue Oct 18, 2019 · 1 comment
Assignees
Labels
enhancement New feature or request

Comments

@alicedb2
Copy link

When downloading from a large manifest, all files are dumped in the same directory with no control beyond --destination. When multiple studies and body-sites are included, if would help if the client could save each file in subdirectories that recapitulate part of the URL.

Closest thing I can think of is how wget -r -x -nH --cut-dirs operates, so that the client would end up putting, for example,
http://downloads.hmpdacc.org/data/HM16STR/HMDEMO/SRP002429/stool/not_affected/SRS066677.fsa
locally in
destination-dir/HM16STR/HMDEMO/SRP002429/stool/not_affected/SRS066677.fsa.

@victor73 victor73 added the enhancement New feature or request label Oct 18, 2019
@victor73 victor73 self-assigned this Oct 18, 2019
@victor73
Copy link
Contributor

Propose to add a --preserve-dirs flag to add this behavior. The “flat” download behavior would remain the default.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants