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

FIle system: Specify a destination directory for the video #5043

Open
keybounce opened this issue Feb 23, 2015 · 2 comments
Open

FIle system: Specify a destination directory for the video #5043

keybounce opened this issue Feb 23, 2015 · 2 comments

Comments

@keybounce
Copy link

@keybounce keybounce commented Feb 23, 2015

Right now, youtube-dl will always save the video where I am at.

I'd like to be able to put a default download directory into my config (for example, /Volumes/Kleiman-Movies/Videos\ to\ Watch), and on the command line, specify something like "etho" -- which would result in a final directory of
/Volumes/Kleiman-Movies/Videos\ to\ Watch/etho/

@phihag
Copy link
Contributor

@phihag phihag commented Feb 23, 2015

Right now, you can create a configuration file with the contents

-o  "/Volumes/Kleiman-Movies/Videos to Watch/%(title)s-%(id)s.%(ext)s"

and all downloads will go to that folder by default.

I think adding another option --subdirectory that maps to a template %(subdirectory)s would be possible.

@mitchellmebane
Copy link

@mitchellmebane mitchellmebane commented Apr 21, 2015

I think more user-friendly behavior would be if the value of -o evaluates, pre-expansion, to an existing directory, use that directory but append the default template.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Linked pull requests

Successfully merging a pull request may close this issue.

None yet
3 participants
You can’t perform that action at this time.