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

how to rename file during download #14959

Closed
xmthx opened this issue Dec 12, 2017 · 4 comments
Closed

how to rename file during download #14959

xmthx opened this issue Dec 12, 2017 · 4 comments

Comments

@xmthx
Copy link

@xmthx xmthx commented Dec 12, 2017

can explain me how to setting youtube-dl for renaming the video during download?
for example:
001-title.ext
002-title-ext
etc etc

i'm using ubuntu 16 whit this string:
youtube-dl --username --password -w --no-overwrites

thanks a lot

@dstftw dstftw closed this Dec 12, 2017
@xmthx
Copy link
Author

@xmthx xmthx commented Dec 12, 2017

i've tryed but dsn't work. Can write me an example?

@xmthx
Copy link
Author

@xmthx xmthx commented Dec 12, 2017

why you have closed if i don't have solve the problem?

@xmthx
Copy link
Author

@xmthx xmthx commented Dec 13, 2017

I have solve my problem..... hope can help some one..... sorry for my english :-P

youtube-dl -u username -p password -w --no-overwrites --restrict-filenames -o '%(autonumber)03d-%(title)s.%(ext)s' https://udemycourseaddress...

Create a folder where you want to downalod the course, and go inside with CD command. put the string and all the video will be download with numeric sequenze from 001 to 999


youtube-dl -u username -p password -w --no-overwrites --restrict-filenames -o '~/Videos/%(playlist)s/%(chapter_number)03d - %(chapter)s/%(autonumber)03d-%(title)s.%(ext)s' https://udemycourseaddress...

The course will be download inside the Videos linux directory (from home), subdivided into squentially enumerated chapters folder and videos from 001-999


youtube-dl -u username -p password -w --no-overwrites --restrict-filenames -o '%(playlist)s/%(chapter_number)03d - %(chapter)s/%(autonumber)03d-%(title)s.%(ext)s' https://udemycourseaddress...

Create a folder where you want to downalod the course, and go inside with CD command. Put the string and all the videos will be download squentially enumerated in subdivided chapters folder from 001-999

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.