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

Make --get-filename create the file of size 0 #23182

Closed
MMasutin opened this issue Nov 23, 2019 · 1 comment
Closed

Make --get-filename create the file of size 0 #23182

MMasutin opened this issue Nov 23, 2019 · 1 comment

Comments

@MMasutin
Copy link

@MMasutin MMasutin commented Nov 23, 2019

Checklist

  • I'm reporting a feature request
  • I've verified that I'm running youtube-dl version 2019.11.22
  • I've searched the bugtracker for similar feature requests including closed ones

Description

Is there a way to not just print, i.e. show in the output, the title (option -e) or file name but also write the file?

@MMasutin MMasutin added the request label Nov 23, 2019
@dstftw dstftw closed this Nov 23, 2019
@dstftw dstftw added the incomplete label Nov 23, 2019
@MMasutin
Copy link
Author

@MMasutin MMasutin commented Dec 1, 2019

Solved with
chcp 1251&for %%a in (-kMrXH84ZcI) do for /f "delims=" %%x in ('youtube-dl --get-filename -- "%%a"') do cd.>"%%x"
NB "--" before the ID is for IDs starting with -.

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.