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

Option to choose destination path #573

Closed
NickyThomassen opened this issue Dec 4, 2012 · 4 comments
Closed

Option to choose destination path #573

NickyThomassen opened this issue Dec 4, 2012 · 4 comments

Comments

@NickyThomassen
Copy link

@NickyThomassen NickyThomassen commented Dec 4, 2012

Assuming it doesn't already exists, would it be possible to include a option to choose the destination of the downloaded file?

As far as the man-page goes, there is no mention of such a option.
Running version 2012.11.29 on Linux.

Thanks for youtube-dl, it's a very handy little tool.

Cheers

phihag added a commit that referenced this issue Dec 4, 2012
@phihag
Copy link
Contributor

@phihag phihag commented Dec 4, 2012

You can simply use -o to define your format, like this:

-o '/my/downloads/%(extractor)s-%(uploader)s/%(title)s-%(id)s.%(ext)s' 

I added an example to the documentation of -o.

@phihag phihag closed this Dec 4, 2012
@phihag
Copy link
Contributor

@phihag phihag commented Dec 4, 2012

One more question: What search terms did you use to search in the manpage? I'll include those then ;)

@NickyThomassen
Copy link
Author

@NickyThomassen NickyThomassen commented Dec 4, 2012

Cool, I didn't thought of using -o like that.

Search the manpages? That's possible? I just read everything under "man youtube-dl" and then loosely browsed the threads here, to avoid duplicates.

Thanks for the help :)

@FiloSottile
Copy link
Collaborator

@FiloSottile FiloSottile commented Dec 4, 2012

It depends on your pager, if it is less like on most systems, then you can search with /pattern and repeat search with n. See man less, and search for /pattern (Inception!)

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.