Split CL option doesn't check correctly for existing files
When using the --split
CL features, the check for already-existing files is performed against the "Destination file" name, rather than the generated split names. Warning appears if a file with the "Destination" name exists (even though it's not about to overwrite it), but doesn't warn if files already exist with split names and just writes over them if they do.
Take the following example:
If there's already a file "test.mkv" in "E:\", a warning appears before adding the job to the queue, which is pointless because that file will not be overwritten. BUT, if file(s) "test-001.mkv" and/or "test-002.mkv" DO exist, there is no warning and are just written over.
Seems to also be true for --split parts:
and --split frames:
. I have not used the other split options.
I get that it's inefficient to check for ALL potential filenames ("test-001" through "test-999"), but it does seem the prudent thing to do for users with "Warn before overwriting…" preference enabled.