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

Add incremental number at the end of file name if file with same name exists #12633

Open
Razor-13 opened this issue Apr 3, 2017 · 4 comments
Open

Comments

@Razor-13
Copy link

@Razor-13 Razor-13 commented Apr 3, 2017

Make sure you are using the latest version: run youtube-dl --version and ensure your version is 2017.04.03. If it's not read this FAQ entry and update. Issues with outdated version will be rejected.

  • I've verified and I assure that I'm running youtube-dl 2017.04.03

Before submitting an issue make sure you have:

  • At least skimmed through README and most notably FAQ and BUGS sections
  • Searched the bugtracker for similar issues including closed ones

What is the purpose of your issue?

  • Feature request (request for a new functionality)

Description of your issue, suggested solution and other information

As described here

#12626

feature request for this.

@dstftw
Copy link
Collaborator

@dstftw dstftw commented Apr 3, 2017

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.

@Razor-13
Copy link
Author

@Razor-13 Razor-13 commented Apr 3, 2017

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

@dstftw
Copy link
Collaborator

@dstftw dstftw commented Apr 3, 2017

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.

@Razor-13
Copy link
Author

@Razor-13 Razor-13 commented Apr 3, 2017

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.

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.