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

Allow aria2c to preserve directory structure #46

Open
MCOfficer opened this issue Nov 9, 2020 · 7 comments
Open

Allow aria2c to preserve directory structure #46

MCOfficer opened this issue Nov 9, 2020 · 7 comments

Comments

@MCOfficer
Copy link
Contributor

Is your feature request related to a problem? Please describe.
Just noticed that according to the README, aria2c does not preserve directory structure while downloading.

Describe the solution you'd like
This is in fact possible by formatting the URLs file differently (See https://stackoverflow.com/a/28553355/7653274). This feature would best be hidden behind a flag, because it does make the file wget-incompatible.

@KoalaBear84
Copy link
Owner

True, first I thought it did, so I added it to ODD README, later I saw it (by default) doesn't support it, so I moved it as the second option and added the warning. It's sad that it doesn't do this, as it is very easy to add for them for the standard structure..

Hopefully I can add it. Probably must be a separate command line parameter which will create a second file?

@MCOfficer
Copy link
Contributor Author

MCOfficer commented Nov 9, 2020

  • parameter that creates a *-aria2c.txt file

  • always create a *-aria2c.txt file

  • parameter that makes the normal .txt file aria2c-compatible

pick one ¯\_(ツ)_/¯

@Chaphasilor
Copy link
Contributor

For what it's worth, I'm voting for the first option 😁

Second option seems unnecessary and the third option basically renders the URL file useless for most other things...

@KoalaBear84
Copy link
Owner

It will be better to focus on #20 because of the limited time.

@Chaphasilor
Copy link
Contributor

That's what I thought, yeah :D

@ztgasdf
Copy link

ztgasdf commented Jul 27, 2023

Bumping as #20 got closed due to metalink becoming essentially defunct.

@KoalaBear84
Copy link
Owner

Yes, let's reopen it. Might not be super easy, writing the file of course is, but determining the directory might not be, the file should be easy as that is already parsed as a filename.

Also need to take care about special characters, which are different in Windows and Unix, but that may be taken care of in Aria2.

@KoalaBear84 KoalaBear84 reopened this Jul 28, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants