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 #12626
Comments
|
Not possible. |
|
Should I make a new issue requesting this as a feature? Or can I edit and re-open this? |
|
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 |
|
Perhaps you didn't realize that autonumber is for playlists, not numbering if files already exist. |
Make sure you are using the latest version: run
youtube-dl --versionand ensure your version is 2017.04.02. 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?
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.