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

Is it not possible to specify the path but not the filename? #360

Closed
snipe opened this issue Jun 20, 2012 · 1 comment
Closed

Is it not possible to specify the path but not the filename? #360

snipe opened this issue Jun 20, 2012 · 1 comment

Comments

@snipe
Copy link

@snipe snipe commented Jun 20, 2012

If I try to use --t and -o, I get an error saying there is a conflict, which makes sense if this works the way it seems to. I'm hoping to be able to retain the original title in the filename, but specify what directory it is downloaded in. I didn't see this possibility in the docs - am I missing it, or does it not exist?

@phihag
Copy link
Contributor

@phihag phihag commented Jun 20, 2012

-t is just an alias for -o "%(stitle)s-%(id)s-%(format)s.%(ext)s". If you want to write to a directory of your choice, just prepend it, like

youtube-dl -o "foo/bar/directory/%(stitle)s-%(id)s-%(format)s.%(ext)s"
@phihag phihag closed this Jun 20, 2012
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
2 participants
You can’t perform that action at this time.