Join GitHub today
GitHub is home to over 50 million developers working together to host and review code, manage projects, and build software together.
Sign upGitHub is where the world builds software
Millions of developers and companies build, ship, and maintain their software on GitHub — the largest and most advanced development platform in the world.
Add incremental number at the end of file name if file with same name exists #12633
Comments
|
You must provide complete description of your feature request. Which files should be affected, how it should work with output template, what should be the option name and so on. |
|
It could work like Windows Explorer's "file exists" dialog where when a file exists it offers the option to add (2), (3), etc on the end of the file. So when a file already exists regardless of name output settings, do not skip as "already downloaded" but re-download with a number at the end, eg "example.mp4", "example-2.mp4", the third time "example-3.mp4", etc. That covers mostly the output template as default option has the video ID so it's not really useful for that |
|
You did not get it. I'm well aware how naming schema works in such case. The point is that it won't be accepted as default since current skip "already downloaded" behavior should be preserved. It may only be activated with an explicit option. You did not answer questions from previous post. |
|
I was thinking it as an option thar requires the output template option (so affect files that are downloaded with this option) like "--incremental", "--do-not-skip" or something similar, or can be added as a sequence type to output template option that is activated if the file already exists. |
Make sure you are using the latest version: run
youtube-dl --versionand ensure your version is 2017.04.03. If it's not read this FAQ entry and update. Issues with outdated version will be rejected.Before submitting an issue make sure you have:
What is the purpose of your issue?
Description of your issue, suggested solution and other information
As described here
#12626
feature request for this.