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 #12626

Closed
Razor-13 opened this issue Apr 2, 2017 · 4 comments
Closed

Comments

@Razor-13
Copy link

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

Make sure you are using the latest version: run youtube-dl --version and ensure your version is 2017.04.02. 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.02

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?

  • Question

Is it possible to do this? My current config is
youtube-dl --fixup warn -f best -o "%(title)s %(upload_date)s.%(ext)s" $*

using "autonumber" doesn't make it for me because it adds a number on all files, not only on cases where the file ends with the same filename.

@dstftw
Copy link
Collaborator

@dstftw dstftw commented Apr 2, 2017

Not possible.

@dstftw dstftw closed this Apr 2, 2017
@Razor-13
Copy link
Author

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

Should I make a new issue requesting this as a feature? Or can I edit and re-open this?

@Razor-13
Copy link
Author

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

Also autonumber doesn't seem to work as intended, after downloading the first video, on the second download the number stays at 00001, it doesn't increase

@gkoelln
Copy link
Contributor

@gkoelln gkoelln commented Apr 3, 2017

Perhaps you didn't realize that autonumber is for playlists, not numbering if files already exist.

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
3 participants
You can’t perform that action at this time.